import { useLocation } from '@tanstack/react-router'
i get Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/@tanstack_react-router.js?v=4d2868af' does not provide an export named 'useLocation
while it's defined in the documentation
2 Replies
distinguished-silver•2y ago
make sure you're on the latest version.
useLocation is pretty newjolly-crimsonOP•2y ago
Thanks a lot