Skip to content

Commit ef6029b

Browse files
committed
[TOOL-3575] Dashboard: Fix /home link 404 after upgrading to nextjs 15.2 (#6393)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates routing and links in the dashboard application to improve navigation. ### Detailed summary - In `apps/dashboard/next.config.ts`, the `destination` was changed from `"/"` to `"https://landing.thirdweb.com"`. - In `apps/dashboard/src/app/components/MobileBurgerMenuButton.tsx`, the `href` for the `Link` component was updated from `"/"` to `"/home"`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 0046018 commit ef6029b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/dashboard/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const baseNextConfig: NextConfig = {
153153
// re-write /home to / (this is so that logged in users will be able to go to /home and NOT be redirected to the logged in app)
154154
{
155155
source: "/home",
156-
destination: "/",
156+
destination: "https://landing.thirdweb.com",
157157
},
158158
...FRAMER_PATHS.map((path) => ({
159159
source: path,

apps/dashboard/src/app/components/MobileBurgerMenuButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export function MobileBurgerMenuButton(
166166
</Link>
167167

168168
<Link
169-
href="/"
169+
href="/home"
170170
className="text-base text-muted-foreground hover:text-foreground"
171171
>
172172
Home Page

0 commit comments

Comments
 (0)