I have a very simple query to an external API:
const fetcher = (...args) => fetch(...args).then(x=>x.json())
const {data:{results}, error} = useSWR("https://xxxxxxxxxxxxxxxx",fetcher)
Whenever I use it like this to destructure the data variable, I get an error saying that "results" is not defined. I can only access results as "data.results", is this a normal behavior?