Issue with RR v7 and vitest when using import Link/Route from react-router instead of react-router-dom #14550
Closed
vudam-bark
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,

I got the error with running vitest when the component import Link from react-router instead of react-router-dom as the image below
The requested module '/node_modules/.vite/vitest/.../deps/react-router.js?v=15d79240' does not provide an export named 'Link'Any help on this please? Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions