Skip to content

Commit

Permalink
Better icon for confirm modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasr8 committed Dec 5, 2023
1 parent 667e0db commit 2ea37fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Components/Tailwind/Modal/Modal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {createPortal} from 'react-dom';
import {XMarkIcon} from '@heroicons/react/20/solid';
import {ExclamationCircleIcon} from '@heroicons/react/24/outline';
import {ConfirmModalData, ErrorModalData} from '../../../context/ModalContextProvider';
import {useModalData} from '../../../hooks/useModal';
Expand Down Expand Up @@ -79,7 +78,7 @@ const ConfirmModal = ({
return (
<>
<div className="absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rounded-full bg-dangerDark">
<XMarkIcon className="w-12 min-w-[3rem] p-1 text-white" />
<ExclamationCircleIcon className="w-12 min-w-[3rem] p-1 text-white" />
</div>
<Typography variant="h3" className="text-center">
{title}
Expand Down

0 comments on commit 2ea37fa

Please sign in to comment.