Commit 0155b4a9 authored by Kim, Subin's avatar Kim, Subin
Browse files

form 제출 시 오류 발생 -> setTheater

parent 2135143b
...@@ -48,6 +48,7 @@ const TheaterEditForm = ({ edit, formRef }) => { ...@@ -48,6 +48,7 @@ const TheaterEditForm = ({ edit, formRef }) => {
window.location.reload() window.location.reload()
} catch (error) { } catch (error) {
catchErrors(error, setError) catchErrors(error, setError)
setTheater({ ...theater, ...INIT_THEATER })
} }
} }
......
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