Unable to use a context within async fetcher function for useSWR
I use SWR 2.2.5
within Next.js 14.2
to load data from my node.js
server. I need to send a header with access token for authorization to get the data back. The token comes from an AuthContext with which I wrap all of my application.