fix: actually close error modal

This commit is contained in:
Paul Makles 2022-04-09 19:02:22 +01:00
parent 56f59d132b
commit 6915186738

View file

@ -11,7 +11,7 @@ export function ErrorModal({ onClose, error }: Props) {
return (
<Modal
visible={true}
onClose={() => false}
onClose={onClose}
title={<Text id="app.special.modals.error" />}
actions={[
{