mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 23:36:00 +00:00
fix behaviour of modal (#340)
This commit is contained in:
parent
7e059d8deb
commit
1b0b51e91a
@ -260,7 +260,10 @@ export const LocateControl = (): JSX.Element => {
|
|||||||
<DialogModal
|
<DialogModal
|
||||||
title='Location found'
|
title='Location found'
|
||||||
isOpened={showLocationModal}
|
isOpened={showLocationModal}
|
||||||
onClose={() => setShowLocationModal(false)}
|
onClose={() => {
|
||||||
|
setShowLocationModal(false)
|
||||||
|
setHasDeclinedModal(true)
|
||||||
|
}}
|
||||||
showCloseButton={true}
|
showCloseButton={true}
|
||||||
closeOnClickOutside={false}
|
closeOnClickOutside={false}
|
||||||
className='tw:bottom-1/3 tw:mx-4 tw:sm:mx-auto'
|
className='tw:bottom-1/3 tw:mx-4 tw:sm:mx-auto'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user