fix: server/client error on some dialogs.

This commit is contained in:
charlesgauthereau
2026-01-29 23:11:33 +01:00
parent 95a60e9a96
commit 30b9fc7765
4 changed files with 43 additions and 39 deletions
@@ -1,14 +1,14 @@
import Link from "next/link";
import {cn} from "@/lib/utils";
import {Plus} from "lucide-react";
import {forwardRef} from "react";
import {forwardRef, HTMLAttributes} from "react";
type EmptyStatePlaceholderProps = {
url?: string;
onClick?: () => void;
text: string;
className?: string;
} & React.HTMLAttributes<HTMLDivElement>;
} & HTMLAttributes<HTMLDivElement>;
export const EmptyStatePlaceholder = forwardRef<HTMLDivElement, EmptyStatePlaceholderProps>(({
url,