close share modal fixed

This commit is contained in:
NikolaBorislavovHristov 2019-11-18 12:50:59 +02:00
parent 6a0b8e8b29
commit 6c227ee8bf

View file

@ -200,7 +200,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
/>
{
shareModalOpen ?
<ModalDialog>
<ModalDialog onCloseRequest={closeShareModal}>
<SharePrompt
url={linksGroups[SHARE_LINK_CATEGORY].href}
/>