Commit 01c7acd7 authored by Kim, Subin's avatar Kim, Subin
Browse files

try-catch 추가

parent 961f5d65
......@@ -12,8 +12,12 @@ const TicketFeeTable = ({ setEditFee, formRef }) => {
}, [])
async function getInfo() {
try {
const res = await cinemaApi.getTicketFee()
setTicketFee(res)
} catch (error) {
catchErrors(error, setError)
}
}
async function editRow(theaterType) {
......
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