Skip to content

Commit

Permalink
update explore links
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Sep 12, 2024
1 parent 207ffa7 commit 7ef3daf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/explorer/src/app/(explorer)/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function Error({ reset, error }: Props) {

<div className="mt-10 flex items-center justify-center gap-x-6">
<Button asChild>
<Link href={getUrl("explorer")}>Go back to explorer</Link>
<Link href={getUrl("explore")}>Go back to explorer</Link>
</Button>

<Button variant="secondary" onClick={reset}>
Expand Down
2 changes: 1 addition & 1 deletion packages/explorer/src/app/(explorer)/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function NotFound() {
<p className="mt-6 text-base leading-7 text-white/70">Sorry, we couldn’t find the page you’re looking for.</p>
<div className="mt-10 flex items-center justify-center gap-x-6">
<Button asChild>
<Link href={getUrl("explorer")}>Go back to explorer</Link>
<Link href={getUrl("explore")}>Go back to explorer</Link>
</Button>

<Button variant="secondary" asChild>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { redirect } from "next/navigation";

export default async function WorldPage({ params }: { params: { worldAddress: string } }) {
return redirect(`/worlds/${params.worldAddress}/explorer`);
return redirect(`/worlds/${params.worldAddress}/explore`);
}

0 comments on commit 7ef3daf

Please sign in to comment.