[Banners] Fix not being able to delete the last character

This commit is contained in:
Aaro Koivukangas
2026-08-11 11:47:25 +03:00
parent c81e5ee1e5
commit 5dea5e1cb8
@@ -38,7 +38,6 @@ export const BannerEditForm = ({ initialValues, onSave }) => {
})
const handleValueChange = (key: string, value: Date | string | null) => {
if (!value) return
setValues(prev => ({
...prev,
[key]: value,