LiveDuo / destack

Page builder for Next.js 🅧. Zero-config deployment 🚀. React now supported!
MIT License
1.56k stars 314 forks source link

Unhandled Runtime Error #118

Open saidjons opened 5 months ago

saidjons commented 5 months ago

hi .at first I've added a new theme folder . added some components. everything was fine then this error started coming up on me .

Unhandled Runtime Error

TypeError: hoveredComponent is null Source

../lib/build/browser/index.js (6189:0) @ onCanvasDrop

` 6187 | hoveredComponent.insertAdjacentHTML("beforebegin", html); 6188 | } else if (!isElementTopHalf(hoveredComponent, e)) {

6189 | hoveredComponent.insertAdjacentHTML("afterend", html); 6190 | } 6191 | removeBorders(); 6192 | setHoveredComponent(null);`

LiveDuo commented 5 months ago

@saidjons Version 3.0.3 and 3.0.4 were released to address a similar issues a day ago. If you are using an older version I suggest trying the latest version.