TagSpaces is an offline, open source, document manager with tagging support
fixing flow issue
Ilian Sapundshiev83cef15bd33a
diff --git a/app/components/dialogs/CreateLocationDialog.js b/app/components/dialogs/CreateLocationDialog.jsindex 1c5fd4d0b..942f6aa5b 100644--- a/app/components/dialogs/CreateLocationDialog.js+++ b/app/components/dialogs/CreateLocationDialog.js@@ -45,14 +45,14 @@ type Props = {};type State = {- errorTextPath: boolean,- errorTextName: boolean,- disableConfirmButton: boolean,- open: boolean,- name: string,- path: string,- perspective: string,- isDefault: boolean+ errorTextPath?: boolean,+ errorTextName?: boolean,+ disableConfirmButton?: boolean,+ open?: boolean,+ name?: string,+ path?: string,+ perspective?: string,+ isDefault?: boolean};class CreateLocationDialog extends React.Component<Props, State> {diff --git a/app/components/dialogs/ImportExportTagGroupsDialog.js b/app/components/dialogs/ImportExportTagGroupsDialog.jsindex 72989354d..b1f24ceca 100644--- a/app/components/dialogs/ImportExportTagGroupsDialog.js+++ b/app/components/dialogs/ImportExportTagGroupsDialog.js@@ -35,7 +35,7 @@ import GenericDialog, { onEnterKeyHandler } from './GenericDialog';import TagGroupContainer from '../TagGroupContainer';import TagContainer from '../TagContainer';import i18n from '../../services/i18n';-import {isFunc} from '../../utils/misc';+import { isFunc } from '../../utils/misc';const styles = {root: {@@ -54,11 +54,11 @@ type Props = {};type State = {- errorTextName: boolean,- disableConfirmButton: boolean,- open: boolean,- tagGroupList: null | Array,- checkedAll: boolean+ errorTextName?: boolean,+ disableConfirmButton?: boolean,+ open?: boolean,+ tagGroupList?: null | Array,+ checkedAll?: boolean};class ImportExportTagGroupsDialog extends React.Component<Props, State> {diff --git a/app/components/dialogs/SelectDirectoryDialog.js b/app/components/dialogs/SelectDirectoryDialog.jsindex 876ef5718..66e81665c 100644--- a/app/components/dialogs/SelectDirectoryDialog.js+++ b/app/components/dialogs/SelectDirectoryDialog.js@@ -44,12 +44,12 @@ type Props = {};type State = {- errorTextPath: boolean,- errorTextName: boolean,- open: boolean,- drives: Array,- currentPath: string,- isDefault: boolean+ errorTextPath?: boolean,+ errorTextName?: boolean,+ open?: boolean,+ drives?: Array<string>,+ currentPath?: string,+ isDefault?: boolean};const styles = () => ({