LiveDuo / destack

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

destack crashes and needs manual restart #121

Closed ezekiel747 closed 2 months ago

ezekiel747 commented 2 months ago

Hello, i've noticed some issues with destack. Here are the steps:

  1. get destack running locally and open the app in browser (i've used destack-react-starter)
  2. having the HyperUI theme selected (default), expand the Banner category
  3. try to select Tailblocks theme (or other theme which lacks Banner category)

At this point i would expect the theme to change, the categories in the left side to update, and allow me to continue working. Instead, the UI becomes unusable, the script crashes trying to get some images from the wrong path.

suggested solutions:

Thank you in advance for looking into this. Great work btw! I like the variety of components available.

LiveDuo commented 2 months ago

Hey @ezekiel747, thanks for the submission.

Just got the time to look into it and pushed a fix https://github.com/LiveDuo/destack/commit/13bbb7226a1e7bcd2ee3b4cbe12bdd792f7056a1.

Get the latest version with:

npm i destack@latest

If you still experience issues, LMK

ezekiel747 commented 2 months ago

I've tested the new version, it works fine now. Thank you!