chore: remove pathpida

This commit is contained in:
d-kimsuon
2025-08-30 15:20:10 +09:00
parent efd06c720e
commit 47aec9ad78
4 changed files with 2 additions and 47 deletions

View File

@@ -1,6 +1,5 @@
import { redirect } from "next/navigation";
import { pagesPath } from "../lib/$path";
export default function Home() {
redirect(pagesPath.projects.$url().pathname);
redirect("/projects");
}

View File

@@ -14,7 +14,6 @@ import {
} from "@/components/ui/card";
import { Checkbox } from "@/components/ui/checkbox";
import { hideSessionsWithoutUserMessagesAtom } from "../store/filterAtoms";
import { pagesPath } from "../../../../lib/$path";
import { useProject } from "../hooks/useProject";
import { firstCommandToTitle } from "../services/firstCommandToTitle";
@@ -35,10 +34,7 @@ export const ProjectPageContent = ({ projectId }: { projectId: string }) => {
<div className="container mx-auto px-4 py-8">
<header className="mb-8">
<Button asChild variant="ghost" className="mb-4">
<Link
href={pagesPath.projects.$url().pathname}
className="flex items-center gap-2"
>
<Link href="/projects" className="flex items-center gap-2">
<ArrowLeftIcon className="w-4 h-4" />
Back to Projects
</Link>