Been running into a couple of issues trying to setup reduxt toolkit in next 14 as see n below. i’ve followed the exact steps on several youtube videos and articles online. but stil getting stuck here as i can’t wrap my head around what seems to be the issue
when it get’s compiled by next on the frontend i get this error
2
Answers
Your file needs a
.tsx
extension, not a.ts
extension.I am trying to add Provider to the layout.js but getting an error. Please how can I resolve this?
Screenshot of the error
Screenshot of the code