2
0
Эх сурвалжийг харах

132486 change to Promise void

soumaeda 2 жил өмнө
parent
commit
fe05cce914

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

@@ -785,8 +785,8 @@ export type TagEditModalStatus = {
 }
 }
 
 
 type TagEditModalUtils = {
 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 => {
 export const useTagEditModal = (): SWRResponse<TagEditModalStatus, Error> & TagEditModalUtils => {