修复bug

This commit is contained in:
david_bai
2025-06-07 14:02:37 +08:00
parent 21bfb1762a
commit 7f478e3d99
+1 -1
View File
@@ -10,7 +10,7 @@ interface WriteClipboardButtonProps {
interface ReadClipboardButtonProps {
title?: string; // Made title optional
onRead: (text: string | null) => void; // Allow null if read fails
onRead: (text: string) => void;
}
export const WriteClipboardButton: React.FC<WriteClipboardButtonProps> = ({