mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[Banners] Fix not being able to delete the last character
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user