Skip to content

Commit

Permalink
reload page after delete
Browse files Browse the repository at this point in the history
  • Loading branch information
hyojeongyunn committed May 24, 2024
1 parent 96c91c4 commit bcb9dc9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pages/equipment/update/[uuid].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const EquipmentUpdatePage = ({ equipmentInfo }) => {
open={deleteModalOpen}
target={name}
deleteURI={`equip/${equipmentInfo.uuid}`}
afterDeleteURI={'equipment'}
trigger={
<Button negative onClick={() => setDeleteModalOpen(true)}>
<Icon name={'trash'} /> 삭제
Expand Down
1 change: 1 addition & 0 deletions pages/introduce/association/update/[uuid].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ const AssociationUpdatePage = ({ associationInfo }) => {
open={deleteModalOpen}
target={name}
deleteURI={`introduce/association/${associationInfo.uuid}`}
afterDeleteURI={'introduce/association'}
trigger={
<Button negative onClick={() => setDeleteModalOpen(true)}>
<Icon name={'trash'} /> 삭제
Expand Down
1 change: 1 addition & 0 deletions pages/introduce/club/update/[uuid].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ const ClubUpdatePage = ({ clubInfo }) => {
open={deleteModalOpen}
target={name}
deleteURI={`introduce/club/${clubInfo.uuid}`}
afterDeleteURI={'introduce/club'}
trigger={
<Button negative onClick={() => setDeleteModalOpen(true)}>
<Icon name={'trash'} /> 삭제
Expand Down
1 change: 1 addition & 0 deletions pages/place/update/[uuid].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ const PlaceUpdatePage = ({ placeInfo }) => {
open={deleteModalOpen}
target={name}
deleteURI={`place/${placeInfo.uuid}`}
afterDeleteURI={'place'}
trigger={
<Button negative onClick={() => setDeleteModalOpen(true)}>
<Icon name={'trash'} /> 삭제
Expand Down

0 comments on commit bcb9dc9

Please sign in to comment.