Skip to content

Commit 6c32735

Browse files
authored
Merge pull request #1797 from Mephistic/fix-postsignup-link
Fix EditProfile Link in Signup Flow
2 parents cc7ac3e + 004a203 commit 6c32735

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

components/auth/VerifyEmailModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function VerifyEmailModal({
1919
<Image fluid height={`18em`} src="/mailbox.svg" alt="" />
2020
<h2 className={`fw-bold`}>{t("verifyEmail")}</h2>
2121
<h6>{t("verifyLinkSent")}</h6>
22-
<Internal href="/editprofile" className="view-edit-profile">
22+
<Internal href="/edit-profile" className="view-edit-profile">
2323
<Button onClick={onHide}>{t("setUpProfile")}</Button>
2424
</Internal>
2525
</Stack>

pages/edit-profile/[...docName].tsx renamed to pages/edit-profile/[[...docName]].tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export const getStaticPaths: GetStaticPaths = async ctx => {
2525
paths: [
2626
{ params: { docName: ["about-you"] } },
2727
{ params: { docName: ["testimonies"] } },
28-
{ params: { docName: ["following"] } }
28+
{ params: { docName: ["following"] } },
29+
{ params: { docName: [] } }
2930
],
3031
fallback: false
3132
}

0 commit comments

Comments
 (0)