Skip to content

Commit

Permalink
Merge pull request #2500 from Infisical/fix/addressed-modal-close-unr…
Browse files Browse the repository at this point in the history
…esponsive

fix: address modal close unresponsive
  • Loading branch information
maidul98 authored Sep 27, 2024
2 parents 4d81a02 + 59da513 commit 441b008
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,11 @@ export const CertificateModal = ({ popUp, handlePopUpToggle }: Props) => {
>
Create
</Button>
<Button colorSchema="secondary" variant="plain">
<Button
colorSchema="secondary"
variant="plain"
onClick={() => handlePopUpToggle("certificate", false)}
>
Cancel
</Button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,11 @@ export const PkiAlertModal = ({ popUp, handlePopUpToggle }: Props) => {
>
{alert ? "Update" : "Create"}
</Button>
<Button colorSchema="secondary" variant="plain">
<Button
colorSchema="secondary"
variant="plain"
onClick={() => handlePopUpToggle("pkiAlert", false)}
>
Cancel
</Button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ export const PkiCollectionModal = ({ popUp, handlePopUpToggle }: Props) => {
>
{pkiCollection ? "Update" : "Create"}
</Button>
<Button colorSchema="secondary" variant="plain">
<Button
colorSchema="secondary"
variant="plain"
onClick={() => handlePopUpToggle("pkiCollection", false)}
>
Cancel
</Button>
</div>
Expand Down

0 comments on commit 441b008

Please sign in to comment.