perf: nothing for nothing
This commit is contained in:
parent
49f46b4b00
commit
cbe5f473a6
|
@ -14,6 +14,9 @@ export default function Dialogues({camera, dialogues, scale}) {
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if (0 === elements.length) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return <div className={styles.dialogues}>{elements}</div>;
|
return <div className={styles.dialogues}>{elements}</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user