Revert "Fix & Refactor UI/UX Page [Auth]"

This reverts commit d76e744eab.

Reason: Move to commits bf5e7aaa48
This commit is contained in:
H0llyW00dzZ 2023-11-27 07:12:57 +07:00
parent bf5e7aaa48
commit 7df868e22a
No known key found for this signature in database
GPG Key ID: 05C7FFFC0845C930

View File

@ -24,12 +24,8 @@ export function AuthPage() {
}; // Reset access code to empty string }; // Reset access code to empty string
useEffect(() => { useEffect(() => {
const clientConfig = getClientConfig(); if (getClientConfig()?.isApp) {
if (clientConfig?.isApp) { // Force to set custom endpoint to true if it's app
navigate(Path.Settings); navigate(Path.Settings);
accessStore.update((state) => {
state.useCustomConfig = true;
});
} }
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, []); }, []);