Browse Source

132486 change to Promise void

soumaeda 2 years ago
parent
commit
fe05cce914
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/app/src/stores/modal.tsx

+ 2 - 2
apps/app/src/stores/modal.tsx

@@ -785,8 +785,8 @@ export type TagEditModalStatus = {
 }
 
 type TagEditModalUtils = {
-  open(tags: string[], pageId: string, revisionId: string): void,
-  close(): void,
+  open(tags: string[], pageId: string, revisionId: string): Promise<void>,
+  close(): Promise<void>,
 }
 
 export const useTagEditModal = (): SWRResponse<TagEditModalStatus, Error> & TagEditModalUtils => {