mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Fix value type in EditablePostcard
This commit is contained in:
parent
23ec8c738b
commit
9f6e213374
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { useDefinedContext } from "../../utils/definedContext";
|
||||||
import { Postcard } from "../postcard/Postcard";
|
import { Postcard } from "../postcard/Postcard";
|
||||||
|
|
||||||
|
|
||||||
export function EditablePostcard({value, ...props}: HTMLProps<HTMLInputElement>) {
|
export function EditablePostcard({value, ...props}: HTMLProps<HTMLInputElement> & {value: string | undefined}) {
|
||||||
const [editing,] = useDefinedContext(EditingContext)
|
const [editing,] = useDefinedContext(EditingContext)
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
|
|
Loading…
Reference in a new issue