made link href dynamic

This commit is contained in:
2024-11-22 20:04:49 -06:00
parent 431ea73de6
commit 89a3d55b59

View File

@@ -27,7 +27,7 @@ export const ListButton = ({ id, name }: { id: number; name: string }) => {
variant="ghost"
className="w-full justify-start underline-offset-4 hover:underline"
>
<Link href="/test/table">
<Link href={`/list/${id}`}>
<Dot className="mr-2 h-4 w-4" />
{name}
<DropdownMenu>