corrected server/client mismatch
This commit is contained in:
@@ -43,8 +43,9 @@ export const ListButton = ({ id, name }: { id: number; name: string }) => {
|
|||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
className="group w-full cursor-default justify-start"
|
className="group w-full cursor-default justify-start"
|
||||||
|
asChild
|
||||||
>
|
>
|
||||||
<>
|
<div>
|
||||||
<Dot className="mr-2 h-4 w-4" />
|
<Dot className="mr-2 h-4 w-4" />
|
||||||
<Link
|
<Link
|
||||||
href={`/list/${id}`}
|
href={`/list/${id}`}
|
||||||
@@ -67,7 +68,7 @@ export const ListButton = ({ id, name }: { id: number; name: string }) => {
|
|||||||
<DropdownMenuItem onClick={handleDelete}>Delete</DropdownMenuItem>
|
<DropdownMenuItem onClick={handleDelete}>Delete</DropdownMenuItem>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
</>
|
</div>
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user