Skip to content

Commit

Permalink
prevent reset when clikcing outside
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalabbad authored and Bilal committed Aug 19, 2024
1 parent 6958bb3 commit b2568cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const CheckConnectivityModal = ({

return (
<>
<Dialog open={isOpen} onClose={handleClose}>
<Dialog open={isOpen} onClose={() => setIsOpen(false)}>
<div className="fixed inset-0 flex w-screen items-center justify-center bg-gray-600/25">
<Dialog.Panel className="bg-white p-4 border rounded-lg max-w-lg space-y-4">
<Dialog.Title className="font-semibold text-lg">
Expand Down

0 comments on commit b2568cb

Please sign in to comment.