Closed mithi closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/mithi/epic-notes/5ef3tkese
✅ Preview: https://epic-notes-git-fix-fouc.mithi.vercel.app
This bug seems to be introduced when I refactored https://github.com/mithi/epic-notes/blob/main/components/notebook/index.js
This fixes it for some reason, but I'm not entirely sure why.
I think it has something to do with the fact that the components are split into subcomponents, and this maybe due to unnecessary rerendering...