Incorrect useData import in docs
ierehon1905 opened this issue · comments
Leon commented
Description
Hi, thank you for the library. It seems that in the docs https://vike.dev/data-fetching the import for useData
is incorrect. It is
import { useData } from 'vike-react'
but it should be
import { useData } from 'vike-react/useData'