TagSpaces is an offline, open source, document manager with tagging support
chore: fix close dialog icon for some dialogs
Ilian Sapundshiev6c29643176a8
diff --git a/src/renderer/components/dialogs/DialogCloseButton.tsx b/src/renderer/components/dialogs/DialogCloseButton.tsxindex 8c2a25bfc..17fe2503c 100644--- a/src/renderer/components/dialogs/DialogCloseButton.tsx+++ b/src/renderer/components/dialogs/DialogCloseButton.tsx@@ -16,9 +16,8 @@**/-import React from 'react';+import { CloseDialogIcon } from '-/components/CommonIcons';import TsIconButton from '-/components/TsIconButton';-import { CloseIcon } from '-/components/CommonIcons';import { useTranslation } from 'react-i18next';interface Props {@@ -43,7 +42,7 @@ function DialogCloseButton(props: Props) {data-tid={testId && testId}onClick={onClose}>- <CloseIcon />+ <CloseDialogIcon /></TsIconButton>);}diff --git a/src/renderer/components/dialogs/LicenseDialog.tsx b/src/renderer/components/dialogs/LicenseDialog.tsxindex c3e2d79da..02a843922 100644--- a/src/renderer/components/dialogs/LicenseDialog.tsx+++ b/src/renderer/components/dialogs/LicenseDialog.tsx@@ -28,8 +28,6 @@ import { useTheme } from '@mui/material/styles';import useMediaQuery from '@mui/material/useMediaQuery';import { useTranslation } from 'react-i18next';-// import DialogCloseButton from '-/components/dialogs/DialogCloseButton';-interface Props {open: boolean;onClose: () => void;