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
Your file needs a .tsx
extension, not a .ts
extension.