Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FixedSignoutFlow#6504
Browse files Browse the repository at this point in the history
shyamprakash123 committed Oct 27, 2023
1 parent e17e746 commit a735229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Utils/utils.ts
Original file line number Diff line number Diff line change
@@ -107,8 +107,8 @@ export const handleSignOut = (forceReload: boolean) => {
Object.values(LocalStorageKeys).forEach((key) =>
localStorage.removeItem(key)
);
navigate("/");
if (forceReload) window.location.reload();
if (forceReload) window.location.href = "/";
else navigate("/");
};

/**

0 comments on commit a735229

Please sign in to comment.