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

Warning in console #73

Open
nikitabobers opened this issue May 17, 2024 · 1 comment · May be fixed by #74
Open

Warning in console #73

nikitabobers opened this issue May 17, 2024 · 1 comment · May be fixed by #74

Comments

@nikitabobers
Copy link

Hi!

Receiving an error message in the console:

Warning: g: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
    at g (webpack-internal:///(app-pages-browser)/./node_modules/react-trix-rte/dist/index.js:1:29553)
    at span
    at w (webpack-internal:///(app-pages-browser)/./node_modules/react-trix-rte/dist/index.js:1:31197)
    at div
    at trix-toolbar
    at k (webpack-internal:///(app-pages-browser)/./node_modules/react-trix-rte/dist/index.js:1:31713)
    at div
    at TrixEditor
    at BailoutToCSR (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/shared/lib/lazy-dynamic/dynamic-bailout-to-csr.js:13:11)

Using @react-trix-rte with nextjs 14

@OtherCroissant
Copy link
Contributor

I am encountering the same issue

@OtherCroissant OtherCroissant linked a pull request Aug 21, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants