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

[BUG] Desk-tool Crashes on React 18 with TypeError: dispatcher.useInsertionEffect is not a function #43

Open
surjithctly opened this issue Oct 4, 2022 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@surjithctly
Copy link

Describe the bug
Desk-tool Crashes on React 18 with TypeError: dispatcher.useInsertionEffect is not a function

To Reproduce
Use sanity studio v2 with react 18 and add your plugin.

Expected behavior
it should work on react 18 as well.

Screenshots
CleanShot 2022-10-03 at 15 37 13@2x

@surjithctly surjithctly added the bug Something isn't working label Oct 4, 2022
@surjithctly
Copy link
Author

Just realized its happening on react 17 as well. See Console error regarding focus:

CleanShot 2022-10-04 at 14 29 56@2x

@rosnovsky rosnovsky added this to the v2 milestone Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants