close snippet modal after selecting snippet

This commit is contained in:
Sadaqat Ali 2022-07-27 08:49:26 +05:00
parent 6070de48b2
commit 14b69ab7c9

View File

@ -276,6 +276,7 @@ const MarkdownEditorView = ({
setTextAndSelection: _setTextAndSelection,
snippetText: `\n${snippetText}\n`,
});
setIsSnippetsOpen(false);
};
const _handleOnMediaSelect = (mediaArray) => {