Skip to content

Commit 5598a2c

Browse files
authored
Merge pull request #156 from ahmed-deriv/ahmed/fix--modal-stuck-application-edit
ahmed/fix--modal-stuck-application-edit
2 parents 47e7d40 + 304d4d0 commit 5598a2c

File tree

1 file changed

+1
-1
lines changed
  • src/features/dashboard/update-app/AppUpdateForm

1 file changed

+1
-1
lines changed

src/features/dashboard/update-app/AppUpdateForm/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ const AppUpdateForm = ({ initialValues, submit, onCancel, is_loading }: TAppForm
378378

379379
<Modal
380380
isOpened={isAdminPopupVisible}
381-
toggleModal={handlePopupCancel}
382381
primaryButtonLabel={translate({
383382
message: 'Enable admin access',
384383
})}
@@ -389,6 +388,7 @@ const AppUpdateForm = ({ initialValues, submit, onCancel, is_loading }: TAppForm
389388
showSecondaryButton
390389
primaryButtonCallback={handlePopupConfirm}
391390
shouldCloseOnSecondaryButtonClick
391+
secondaryButtonCallback={handlePopupCancel}
392392
className='admin-scope-modal'
393393
showHandleBar
394394
disableCloseOnOverlay={true}

0 commit comments

Comments
 (0)