Skip to content

Commit

Permalink
added devmode
Browse files Browse the repository at this point in the history
  • Loading branch information
epixieme committed Sep 2, 2024
1 parent 866027b commit 69c3f9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/UserAUnauthorizedPages/SignUpPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { SignUpForm, useSignUp } from 'features/auth';
import GoogleLogin from 'features/auth/components/GoogleLogin';

function SignUpPage() {
const devMode = localStorage.getItem('devMode') === 'true';

const signUpId = uuidv4();
const navigate = useNavigate();

Expand Down Expand Up @@ -47,7 +49,7 @@ function SignUpPage() {
<div style={{ display: 'flex', flexDirection: 'column', gap: 19, justifyContent: 'center', alignItems: 'center' }}>
<SignUpForm isLoading={isLoading} onSignUp={signUpHandler} />
<div style={{ borderBottom: '1px solid #0000001A', height: 1, width: 205 }}></div>
<GoogleLogin navigateAfterLogin={navigateAfterLogin} text="Continue With Google" />
{devMode && <GoogleLogin navigateAfterLogin={navigateAfterLogin} text="Continue With Google" />}
</div>
</PageContent>
</Page>
Expand Down

0 comments on commit 69c3f9e

Please sign in to comment.