Skip to content

Commit

Permalink
signup ページのブロックを忘れていたので追加
Browse files Browse the repository at this point in the history
  • Loading branch information
naka-12 committed Nov 9, 2024
1 parent 021ea3e commit aad6b71
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions web/app/signup/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { useState } from "react";
import { useRouter } from "next/navigation";
import type { Step1User } from "~/common/zod/types";
import Header from "~/components/Header";
import { NavigateByAuthState } from "~/components/common/NavigateByAuthState";
import { register } from "./functions";
import Step1 from "./steps/step1_profile";
import Step2, { type Step2Data } from "./steps/step2_img";
Expand Down Expand Up @@ -76,18 +77,20 @@ function Registration() {
}
export default function RegistrationPage() {
return (
<Box
sx={{
position: "absolute",
top: "56px",
bottom: 0,
left: 0,
right: 0,
overflowY: "auto",
}}
>
<Header title="登録/Register" />
<Registration />
</Box>
<NavigateByAuthState type="toHomeForAuthenticated">
<Box
sx={{
position: "absolute",
top: "56px",
bottom: 0,
left: 0,
right: 0,
overflowY: "auto",
}}
>
<Header title="登録/Register" />
<Registration />
</Box>
</NavigateByAuthState>
);
}

0 comments on commit aad6b71

Please sign in to comment.