Skip to content

Commit

Permalink
cleared localstorage to solve flickering
Browse files Browse the repository at this point in the history
  • Loading branch information
Aad1tya27 committed Dec 26, 2024
1 parent 9772f7d commit 7fc5386
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/screens/OrgList/OrgList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ function orgList(): JSX.Element {
};

if (errorList || errorUser) {
localStorage.clear();
window.location.assign('/');
}

Expand Down

0 comments on commit 7fc5386

Please sign in to comment.