abhaynikam / react-trix-rte

React wrapper for Trix rich text editor created by Basecamp
https://abhaynikam.github.io/react-trix-rte
MIT License
71 stars 10 forks source link

Warning in console #73

Open nikitabobers opened 3 months ago

nikitabobers commented 3 months ago

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 commented 3 weeks ago

I am encountering the same issue