lifinance/widget

[Question] - How to properly configure with nextjs12?

risardi123 opened this issue · 1 comments

Currently the example is on nextjs13, but I try to adapt with nextjs12 which not work as intended. Or is it not compatible with nextjs 12

And there is strange linter error, when install "@lifi/widget": "^1.32.8":
Screenshot 2023-03-16 at 11 20 33

package.json:
"next": "12.1.0",
"next-transpile-modules": "^10.0.0",
"react": "17.0.2",
"swr": "^1.3.0"
"react-dom": "17.0.2",
"@lifi/sdk": "^1.7.2",
"@lifi/widget": "^1.32.8",

@risardi123 it should work fine with Next.js 12 and React 18. You use React 17, so please upgrade to the latest.