Open DarknessMonarch opened 2 months ago
this is the type error am getting when i run it on nextjs
TypeError: (0 , _index3_mjs__WEBPACK_IMPORTED_MODULE_3__.jsx) is not a function
Next.js 14.2.4
I tested using both chrome and brave but it safe to assume that the problem is simply next.js
npm install npm install @google-translate-select/react
"use client" import GoogleTranslateSelect from "@google-translate-select/react"; export default test = () => { return ( <div> <GoogleTranslateSelect defaultLanguageCode="en" defaultPageLanguageCode="en" fetchBrowserLanguage={false} trigger="click" select={handleGoogleTranslateSelect} /> </div> ); }
npm run dev
to work like how it works on the projects i have used on vue
Marking issue as stale since there was no activity for 30 days
@google-translate-select bug report
Summary
this is the type error am getting when i run it on nextjs
TypeError: (0 , _index3_mjs__WEBPACK_IMPORTED_MODULE_3__.jsx) is not a function
Environment
Next.js 14.2.4
I tested using both chrome and brave but it safe to assume that the problem is simply next.js
Steps to reproduce
Expected results
to work like how it works on the projects i have used on vue
Actual results