Skip to content

Commit

Permalink
Revert "Fix & Refactor UI/UX Page [Auth]"
Browse files Browse the repository at this point in the history
This reverts commit d76e744.

Reason: Move to commits bf5e7aa
  • Loading branch information
H0llyW00dzZ committed Nov 27, 2023
1 parent bf5e7aa commit 7df868e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/components/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@ export function AuthPage() {
}; // Reset access code to empty string

useEffect(() => {
const clientConfig = getClientConfig();
if (clientConfig?.isApp) { // Force to set custom endpoint to true if it's app
if (getClientConfig()?.isApp) {
navigate(Path.Settings);
accessStore.update((state) => {
state.useCustomConfig = true;
});
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
Expand Down

0 comments on commit 7df868e

Please sign in to comment.