Przeglądaj źródła

changed onClose to optional

WNomunomu 2 lat temu
rodzic
commit
77f5f077a3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      apps/app/src/components/Page/TagEditModal.tsx

+ 1 - 1
apps/app/src/components/Page/TagEditModal.tsx

@@ -10,7 +10,7 @@ import TagsInput from './TagsInput';
 type Props = {
 type Props = {
   tags: string[],
   tags: string[],
   isOpen: boolean,
   isOpen: boolean,
-  onClose: () => void,
+  onClose?: () => void,
   onTagsUpdated?: (tags: string[]) => Promise<void> | void,
   onTagsUpdated?: (tags: string[]) => Promise<void> | void,
 };
 };