1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

hiding audio image block if no images

This commit is contained in:
Fedor Katurov 2020-08-26 10:06:13 +07:00
parent 5b8f13755f
commit 88f8ae1bd3

View file

@ -15,6 +15,8 @@ const NodeAudioImageBlock: FC<IProps> = ({ node }) => {
[node.files]
);
if (images.length === 0) return null;
return (
<div className={styles.wrap}>
<div