Remove duplicated close modal UI element

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-04-10 10:31:48 -07:00
parent c652fc0e4d
commit 25ca9e5d3b
2 changed files with 1 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- Fix cannot create vendor when the name is too similar to suggested one
- Fix UI show double button to close evidence preview modal.
## [0.5.0] - 2025-04-10

View File

@@ -3486,12 +3486,6 @@ function MitigationViewContent({
<DialogHeader>
<DialogTitle className="flex items-center justify-between">
<span>{previewEvidence?.filename}</span>
<button
onClick={() => setIsPreviewModalOpen(false)}
className="rounded-full p-1 hover:bg-secondary-bg"
>
<X className="w-5 h-5" />
</button>
</DialogTitle>
<DialogDescription>
Preview of the evidence file. You can view or download the file