Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/components/PromptForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe("PromptForm – authenticated submission", () => {
expect(mockAddOptimistic).toHaveBeenCalledWith(
expect.objectContaining({ title: "My Prompt", content: "Prompt content" })
);
expect(mockPush).toHaveBeenCalledWith("/dashboard");
expect(mockPush).toHaveBeenCalledWith("/");
});

it("defaults collection to 'uncategorized' when left blank", async () => {
Expand Down
135 changes: 0 additions & 135 deletions app/dashboard/page.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ export default function DocsPage() {
{" "}· Computer Engineering · UNILAG
</p>
<div className="flex items-center gap-4 text-sm">
<Link href="/" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">Home</Link>
<Link href="/home" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">Home</Link>
<Link href="/prompts/new" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">New Prompt</Link>
<Link href="/ocr" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">OCR</Link>
</div>
Expand Down
Loading
Loading