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

cleared console logs

This commit is contained in:
muerwre 2019-08-25 17:58:14 +07:00
parent 6f90115d3b
commit 390fa51d0c
2 changed files with 0 additions and 7 deletions

View file

@ -36,14 +36,9 @@ const NodeLayoutUnconnected: FC<IProps> = ({
useEffect(() => {
if (is_loading) return;
nodeLoadNode(id, null);
// todo: if node not loading, load it!
}, []);
useEffect(() => console.log({ is_loading }), [is_loading]);
const block = node && node.type && NODE_COMPONENTS[node.type] && NODE_COMPONENTS[node.type];
// const view = block && block[is_loading ? 'placeholder' : 'component'];
// console.log({ block, view });
return (
<Card className={styles.node} seamless>