Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many errors and warnings showing up by running locally with npm run dev and playing around. #10

Open
alixsep opened this issue Jul 27, 2021 · 3 comments

Comments

@alixsep
Copy link
Contributor

alixsep commented Jul 27, 2021

image

@PiyushSuthar
Copy link
Owner

I'm not sure about the error, but warnings are because of the react-rnd module. I'm looking for a fix.

@PiyushSuthar
Copy link
Owner

PiyushSuthar commented Jul 29, 2021

Just realised that the error is due to this hook.

useClickOutside(WidgetsRef, () => {

When clicked on the widget icon in the taskbar, it immediately hides the widget panel. And since we are clicking outside the widget panel, it invokes that hook too.

@PiyushSuthar
Copy link
Owner

We can actually implement #13 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants