mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
chore: redirecting on update
This commit is contained in:
parent
5f98f594d2
commit
569b1f4a99
@ -185,7 +185,7 @@ const ManageBotPage:NextPage<ManageBotProps> = ({ bot, user, csrfToken, theme })
|
|||||||
}) })
|
}) })
|
||||||
if(res.code === 200) {
|
if(res.code === 200) {
|
||||||
alert('성공적으로 수정했습니다.')
|
alert('성공적으로 수정했습니다.')
|
||||||
setAdminModal(false)
|
router.push(makeBotURL(bot))
|
||||||
} else {
|
} else {
|
||||||
alert(res.message)
|
alert(res.message)
|
||||||
setAdminModal(false)
|
setAdminModal(false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user