a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add a minimum to height of canvas preview

+1 -1
+1 -1
components/Canvas.tsx
··· 76 76 let blocks = useEntity(props.entityID, "canvas/block"); 77 77 let { rep } = useReplicache(); 78 78 let entity_set = useEntitySetContext(); 79 - let height = Math.max(...blocks.map((f) => f.data.position.y)); 79 + let height = Math.max(...blocks.map((f) => f.data.position.y), 0); 80 80 return ( 81 81 <div 82 82 onClick={async (e) => {