mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
cleared console logs
This commit is contained in:
parent
6f90115d3b
commit
390fa51d0c
2 changed files with 0 additions and 7 deletions
|
@ -39,8 +39,6 @@ const NodeImageBlock: FC<IProps> = ({ node, is_loading }) => {
|
|||
]);
|
||||
|
||||
useEffect(() => {
|
||||
console.log({ height });
|
||||
|
||||
if (!refs || !refs.current[current] || !loaded[current]) return setHeight(320);
|
||||
|
||||
const el = refs.current[current];
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue