Skip to content

Commit

Permalink
TypeErro
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Oct 1, 2023
1 parent 3e952e3 commit 8823358
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion islands/admin/components/ManageSchools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ export default (props: Props) => {
<td>{ schoolData.schoolName }</td>
<td onClick={async () => {
if (!confirm(`Do you want to edit '${schoolData.schoolName}' name?`)) return
const newName: string = prompt('What is new name?')
const newNameInfo = prompt('What is new name?')
if (!newNameInfo) {
alert('作業を拒否しました!')
return
}
const newName: string = newNameInfo
if (!confirm(`I'm going to rename ${newName}, Ok?`)) return

try {
Expand Down

0 comments on commit 8823358

Please sign in to comment.