Skip to content

Commit

Permalink
test: fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Dec 6, 2024
1 parent a5bd8f6 commit ddbca8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/pages/legacy-account-auth/legacy-account-auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useAppDetails } from '@app/common/hooks/auth/use-app-details';
import { useSwitchAccountSheet } from '@app/common/switch-account/use-switch-account-sheet-context';
import { openInNewTab } from '@app/common/utils/open-in-new-tab';
import { CurrentAccountDisplayer } from '@app/features/current-account/current-account-displayer';
import { useOnOriginTabClose } from '@app/routes/hooks/use-on-tab-closed';
// import { useOnOriginTabClose } from '@app/routes/hooks/use-on-tab-closed';
import { useCurrentAccountIndex } from '@app/store/accounts/account';

import { ConnectAccountLayout } from '../../components/connect-account/connect-account.layout';
Expand All @@ -18,7 +18,7 @@ export function LegacyAccountAuth() {
const finishSignIn = useFinishAuthRequest();
const { toggleSwitchAccount } = useSwitchAccountSheet();

useOnOriginTabClose(() => closeWindow());
// useOnOriginTabClose(() => closeWindow());

// const cancelAuthentication = useCancelAuthRequest();

Expand Down

0 comments on commit ddbca8b

Please sign in to comment.