Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix: modify create roster form
Browse files Browse the repository at this point in the history
  • Loading branch information
jspark2000 committed Mar 21, 2024
1 parent 09418ea commit 047cfc1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export default function CreateRosterForm() {
try {
await fetcher.post('/rosters', {
...data,
class: data.class === '' ? '없음' : data.class
class: data.class === '' ? '없음' : data.class,
offPosition:
data.type !== RosterType.Athlete ? data.type : data.offPosition
})
router.push('/console/roster?revalidate=true')
toast.success('부원을 등록했습니다')
Expand Down

0 comments on commit 047cfc1

Please sign in to comment.