Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mertbagt committed Jan 22, 2025
1 parent 5222db7 commit a631612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/edit-profile/[...docName].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const Query = z.object({
export default createPage({
title: "Edit Profile",
Page: requireAuth(({ user }) => {
const tabTitles = Query.parse(useRouter().query).docName?.[0] || "about-you"
return <EditProfile tabTitles={tabTitles as TabTitles} />
const tabTitle = Query.parse(useRouter().query).docName?.[0] || "about-you"
return <EditProfile tabTitle={tabTitle as TabTitles} />
})
})

Expand Down

0 comments on commit a631612

Please sign in to comment.