Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
01c7acd7
Commit
01c7acd7
authored
Jul 28, 2021
by
Kim, Subin
Browse files
try-catch 추가
parent
961f5d65
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/components/Admin/TicketFeeTable.js
View file @
01c7acd7
...
...
@@ -12,8 +12,12 @@ const TicketFeeTable = ({ setEditFee, formRef }) => {
},
[])
async
function
getInfo
()
{
const
res
=
await
cinemaApi
.
getTicketFee
()
setTicketFee
(
res
)
try
{
const
res
=
await
cinemaApi
.
getTicketFee
()
setTicketFee
(
res
)
}
catch
(
error
)
{
catchErrors
(
error
,
setError
)
}
}
async
function
editRow
(
theaterType
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment