1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 22:54:22 +00:00

Fix missing translation dep

This commit is contained in:
Steffo 2022-07-21 00:24:53 +02:00
parent 0308755aee
commit 952aefb839
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -38,7 +38,7 @@ export const EventsActionEdit = ({ data, mutate, save, setEditing }: EventsActio
placeholder={t("eventNamePlaceholder")} placeholder={t("eventNamePlaceholder")}
/> />
), ),
[mutate, name] [t, mutate, name]
) )
} }
content={<> content={<>
@ -51,7 +51,7 @@ export const EventsActionEdit = ({ data, mutate, save, setEditing }: EventsActio
placeholder={t("eventDescriptionPlaceholder")} placeholder={t("eventDescriptionPlaceholder")}
/> />
), ),
[mutate, description] [t, mutate, description]
)} )}
{useMemo( {useMemo(
() => ( () => (
@ -62,7 +62,7 @@ export const EventsActionEdit = ({ data, mutate, save, setEditing }: EventsActio
placeholder={t("eventPostcardPlaceholder")} placeholder={t("eventPostcardPlaceholder")}
/> />
), ),
[mutate, postcard] [t, mutate, postcard]
)} )}
</>} </>}
/> />