Skip to content

Commit

Permalink
rediret to marketplace/route
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-justin committed Jan 27, 2025
1 parent 62602c0 commit d429446
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/Profile/profile-redirect.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { type LoaderFunction, redirect } from "@vercel/remix";
import { appRoutes } from "constants/routes";

export const loader: LoaderFunction = ({ params }) =>
redirect(`${appRoutes.marketplace}/${params.id}`);

0 comments on commit d429446

Please sign in to comment.