feat: extend schema with list and cards
This commit is contained in:
@@ -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 <></>;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ export default async function Layout(props: { children: React.ReactNode }) {
|
||||
</div>
|
||||
|
||||
<div className="flex h-full w-full">
|
||||
<nav className="flex w-64 flex-col justify-between border-r border-dark-600 px-5 py-5">
|
||||
<nav className="flex w-72 flex-col justify-between border-r border-dark-600 px-5 py-5">
|
||||
<div>
|
||||
<ul role="list" className="-mx-2 my-6 space-y-1">
|
||||
{navigation.map((item) => (
|
||||
|
||||
Reference in New Issue
Block a user