portive / wysimark

The Wysiwyg Editor for Markdown: 100% CommonMark + GFM with Uploads and Image Resizing
Other
239 stars 41 forks source link

Console error log: [DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`. #49

Open KennyMwendwaX opened 1 year ago

KennyMwendwaX commented 1 year ago

Description Getting an error in the console:

[DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`.

Reproduction A GIF or video showing the issue happening. If you don't include this, your issue may be closed, if it's too hard to figure out exactly what is going wrong.

Steps To reproduce the behavior:

  1. To a Next.js(react.js) project
  2. Render the component
  3. See error log on the console

Expectation It shouldn't throw the error log.

Environment

Thrizian commented 7 months ago

Firefox is also warning for deprecation:

 "@wysimark/standalone": "^3.0.20",

I've added this to my yarn build and when i import it i warnings from Firefox.

[DEPRECATED] Default export is deprecated. Instead use import { create } from 'zustand'.

Is there a newer zustand version we can use?