fix storyshots

This commit is contained in:
Eduard Heimbuch
2020-10-20 10:31:56 +02:00
parent 27d4b0a755
commit 445d26e2b7

View File

@@ -48,12 +48,12 @@ const OpenInFullscreenButton: FC<Props> = ({ modalTitle, modalBody }) => {
<Button title={t("diff.fullscreen.open")} className="button" onClick={() => setShowModal(true)}>
<i className="fas fa-search-plus" />
</Button>
<FullscreenModal
{showModal && <FullscreenModal
title={modalTitle}
closeFunction={() => setShowModal(false)}
body={modalBody}
active={showModal}
/>
/>}
</>
);
};