Commit 5719380a authored by Цой Данил's avatar Цой Данил 💬

Hide alerts in add form if submit was successfull

parent 980ac969
......@@ -63,6 +63,8 @@ const AddForm: React.FunctionComponent = (): React.ReactElement => {
title: '',
photo: undefined
})
setTitleError(false)
setPhotoError(false)
setFileName('')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment