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:
parent
5b8f13755f
commit
88f8ae1bd3
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ const NodeAudioImageBlock: FC<IProps> = ({ node }) => {
|
|||
[node.files]
|
||||
);
|
||||
|
||||
if (images.length === 0) return null;
|
||||
|
||||
return (
|
||||
<div className={styles.wrap}>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue