From 9f6e2133745d57c6b6937da501990bf9d961fa57 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 8 Jun 2022 02:40:14 +0200 Subject: [PATCH] Fix value type in EditablePostcard --- components/editable/EditablePostcard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/editable/EditablePostcard.tsx b/components/editable/EditablePostcard.tsx index 80f7253..13a0a1b 100644 --- a/components/editable/EditablePostcard.tsx +++ b/components/editable/EditablePostcard.tsx @@ -4,7 +4,7 @@ import { useDefinedContext } from "../../utils/definedContext"; import { Postcard } from "../postcard/Postcard"; -export function EditablePostcard({value, ...props}: HTMLProps) { +export function EditablePostcard({value, ...props}: HTMLProps & {value: string | undefined}) { const [editing,] = useDefinedContext(EditingContext) return <>