made link href dynamic
This commit is contained in:
@@ -27,7 +27,7 @@ export const ListButton = ({ id, name }: { id: number; name: string }) => {
|
|||||||
variant="ghost"
|
variant="ghost"
|
||||||
className="w-full justify-start underline-offset-4 hover:underline"
|
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" />
|
<Dot className="mr-2 h-4 w-4" />
|
||||||
{name}
|
{name}
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
|
|||||||
Reference in New Issue
Block a user