Skip to content

Commit

Permalink
feat: add add coffee form
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelblijleven committed Sep 26, 2023
1 parent 0365184 commit 634e599
Show file tree
Hide file tree
Showing 7 changed files with 584 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/coffee/add/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {getRoasters} from "@/lib/db/roasters/get-roasters";
import {currentUser} from "@clerk/nextjs";
import type { User } from "@clerk/nextjs/api";

export default async function AddCoffeePage() {
export default async function AddCoffeePage({ params }: { params: { publicUserId: string }}) {
const user: User | null = await currentUser();

if (!user) return null;
Expand Down
Loading

0 comments on commit 634e599

Please sign in to comment.