Skip to content

Commit

Permalink
fix(email-confirm): improve styling & timing
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsSelbekk committed Aug 8, 2024
1 parent f93c8f3 commit 3631440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/auth/email/confirm/[confirmationId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function TokenPage({
<Container component="main" maxWidth="xs">
<Box
sx={{
marginTop: 8,
marginTop: 4,
display: "flex",
flexDirection: "column",
alignItems: "center",
Expand Down
4 changes: 2 additions & 2 deletions src/components/EmailConfirmer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export default function EmailConfirmer({
)}
{status === "SUCCESS" && (
<>
<Alert sx={{ mt: 1 }}>E-postadressen ble bekreftet!</Alert>
<CountdownToRedirect path={"/"} seconds={3} />
<Alert sx={{ my: 1 }}>E-postadressen ble bekreftet!</Alert>
<CountdownToRedirect path={"/"} seconds={5} />
</>
)}
</>
Expand Down

0 comments on commit 3631440

Please sign in to comment.