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

Batch callback error when implementing the Comments Bubble #12

Open
olafisoyevince opened this issue Mar 3, 2024 · 6 comments
Open

Comments

@olafisoyevince
Copy link

I get this error when trying to see the result of the Comments Bubble feature.

Screenshot 2024-03-03 184604

Screenshot 2024-03-03 184738
Screenshot 2024-03-03 184806

But when I comment out this block of code from CommentsOverlay.tsx the error goes away. which means the error is most likely coming from somewhere in OverlayThread component. Any tips on how to fix this error will be greatly appreciated.

{threads
.filter((thread) => !thread.metadata.resolved)
.map((thread) => (
<OverlayThread
key={thread.id}
thread={thread}
maxZIndex={maxZIndex}
/>
))}

@BR-BelalRezk
Copy link

same issue

@olafisoyevince
Copy link
Author

The error comes from the useUser in the OverlayThread function. Everything should work fine if you comment that out. @BR-BelalRezk

@BR-BelalRezk
Copy link

The error comes from the useUser in the OverlayThread function. Everything should work fine if you comment that out. @BR-BelalRezk

It worked , but I don't get it "Why is that ?".
I also did a lot of optional chaining , debugging and console logging but the next.js error is not helping.

@olafisoyevince
Copy link
Author

I did the same too. I think it’s due to the fact that the application doesn’t have any authentication implemented.

@BR-BelalRezk
Copy link

I did the same too. I think it’s due to the fact that the application doesn’t have any authentication implemented.

If it works , don't touch it😂

@olafisoyevince
Copy link
Author

I did the same too. I think it’s due to the fact that the application doesn’t have any authentication implemented.

If it works , don't touch 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