Explorar o código

changed onClose to optional

WNomunomu %!s(int64=2) %!d(string=hai) anos
pai
achega
77f5f077a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = {
   tags: string[],
   isOpen: boolean,
-  onClose: () => void,
+  onClose?: () => void,
   onTagsUpdated?: (tags: string[]) => Promise<void> | void,
 };