fix(web/settings): run the close function when exiting with ESC

Apparently no one notices the focus was being trapped if you were to exit with ESC
This commit is contained in:
Luke
2022-06-29 15:39:12 +02:00
parent d33df54f0e
commit c4617f1f57

View File

@@ -46,6 +46,7 @@ const Settings: React.FC = () => {
onClose={onClose}
isCentered
closeOnEsc
onEsc={closeSettings}
closeOnOverlayClick={false}
size="xs"
>