Explorar el Código

Improved type to not return Promise by close() function

Taichi Masuyama hace 4 años
padre
commit
f6e166412a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 => {