Skip to content

Commit

Permalink
feat: change blocked session message
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmuniz1994 committed Oct 27, 2023
1 parent 34c2265 commit 26b0897
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/features/auth/BlockedSession.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function BlockedSession() {
return (
<HomeTemplate>
<Box component="span" pr={1}>
<ErrorAlert message="Account in use in another device." />
<ErrorAlert message="Account in use in another device. Reload to restore this session." />
</Box>
</HomeTemplate>
);
Expand Down
2 changes: 0 additions & 2 deletions src/hooks/useRedirectionRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ export function getRedirectionRule(
if (!isSessionBlocked) {
return "/";
}

return "";
}

if (path === "/") {
Expand Down

0 comments on commit 26b0897

Please sign in to comment.