abhaynikam/react-trix-rte

Warning in console

Opened this issue · 1 comments

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

I am encountering the same issue