feat: extend schema with list and cards

This commit is contained in:
Henry
2023-11-07 21:39:11 +00:00
parent 1df15595f4
commit c7da56785e
5 changed files with 104 additions and 12 deletions

View File

@@ -1,3 +1,15 @@
export default function BoardPage() {
"use client";
import { api } from "~/trpc/react";
export default function BoardPage({ params }: { params: { id: string[] } }) {
const boardId = params.id[0];
if (!boardId) return <></>;
const { data } = api.board.byId.useQuery({ id: boardId });
console.log({ data });
return <></>;
}