fix geolocking modal

This commit is contained in:
Adrian Brzeziński 2024-01-06 12:54:46 +01:00
parent 7de1ce9611
commit 74295be8a1
1 changed files with 4 additions and 1 deletions

View File

@ -242,7 +242,10 @@ const RestrictedCountryCheck = () => {
return showModal ? (
<RestrictedCountryModal
isOpen={showModal}
onClose={() => setConfirmedCountry(true)}
onClose={() => {
setConfirmedCountry(true)
setShowModal(false)
}}
/>
) : null
}