Skip to content

Commit

Permalink
fix: clicking the X button closes the modal
Browse files Browse the repository at this point in the history
[Closes #167]
  • Loading branch information
nicolasbrugneaux committed Sep 14, 2023
1 parent 39021f6 commit 97aa1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/wallet/components/AccountModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const AccountModal = ({ isOpen, close }: { isOpen: boolean; close: () =>
<ThemedIcon name="clipboard" alt={`Copy to clipboard`} height={16} width={16} />
</Button>
</div>
<div className="cursor-pointer bg-tertiary rounded-full flex center p-1">
<div className="cursor-pointer bg-tertiary rounded-full flex center p-1" onClick={close}>
<ThemedIcon name="close" alt="Dismiss" width={24} height={24} />
</div>
</div>
Expand Down

0 comments on commit 97aa1ca

Please sign in to comment.