Skip to content

Commit

Permalink
Update ManageSchools.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Oct 1, 2023
1 parent 8823358 commit e4220ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion islands/admin/components/ManageSchools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default (props: Props) => {
type: 'rename_school',
schoolId: schoolData.schoolId,
newName,
password: props.password,
}
})
alert('成功')
Expand All @@ -88,7 +89,8 @@ export default (props: Props) => {
json: {
type: 'remove_school',
password: props.password,
id: schoolData.schoolId
id: schoolData.schoolId,
password: props.password,
}
}).json()
} catch (error) {
Expand Down

0 comments on commit e4220ba

Please sign in to comment.