Skip to content

Commit

Permalink
fix add initialURL to deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Apr 9, 2024
1 parent b4d97c8 commit 654f36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/LogOutPreviousUserPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function LogOutPreviousUserPage({session, route, isAccountLoading}: LogOutPrevio
});
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isAccountLoading]);
}, [initialURL, isAccountLoading]);

return <FullScreenLoadingIndicator />;
}
Expand Down

0 comments on commit 654f36e

Please sign in to comment.