Browse Source

Improved type to not return Promise by close() function

Taichi Masuyama 4 years ago
parent
commit
f6e166412a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/Page/FixPageGrantAlert.tsx

+ 1 - 1
packages/app/src/components/Page/FixPageGrantAlert.tsx

@@ -15,7 +15,7 @@ type ModalProps = {
   isOpen: boolean
   pageId: string
   dataApplicableGrant: IResApplicableGrant
-  close(): Promise<void> | void
+  close(): void
 }
 
 const FixPageGrantModal = (props: ModalProps): JSX.Element => {