This commit is contained in:
2025-11-18 13:47:43 +01:00
parent 0c37ef5578
commit ea6e42175a
2 changed files with 8 additions and 6 deletions
+5 -4
View File
@@ -3,6 +3,7 @@ import type { ReactNode } from 'react';
import TagsPanel from '../tags/TagsPanel';
import CorrespondentsPanel, { CorrespondentsPanelProps } from '../correspondents/CorrespondentsPanel';
import PanelHeader from '../ui/PanelHeader';
import { CloseIcon } from '../ui/icons';
const TAGS_MODAL = 'tags';
const CORRESPONDENTS_MODAL = 'correspondents';
@@ -106,8 +107,8 @@ export const useManagementModals = ({
titleTag="h3"
titleProps={{ id: 'tags-modal-title' }}
actions={(
<button type="button" className="secondary" onClick={closeActiveModal}>
Close
<button type="button" className="icon-button" onClick={closeActiveModal} aria-label="Close">
<CloseIcon size={16} />
</button>
)}
/>
@@ -188,8 +189,8 @@ export const useManagementModals = ({
titleTag="h3"
titleProps={{ id: 'correspondents-modal-title' }}
actions={(
<button type="button" className="secondary" onClick={closeActiveModal}>
Close
<button type="button" className="icon-button" onClick={closeActiveModal} aria-label="Close">
<CloseIcon size={16} />
</button>
)}
/>