Skip to content

Commit

Permalink
FixedSignoutFlow#6504 (#6509)
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamprakash123 committed Oct 30, 2023
1 parent d1d863e commit edd6a7e
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
Expand Up @@ -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("/");
};

/**
Expand Down

0 comments on commit edd6a7e

Please sign in to comment.