-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
-
OCMUI Core Sprint 261, OCMUI Core Sprint 262
Since react-router v6 upgrade, we wrap react-router-dom Link, Navigate, and useNavigate to add a base pathÂ
Add a custom eslint rule to restrict direct imports for these from react-router-dom, instead they should come from '~/common/routing', i.e:
import { useNavigate } from '~/common/routing'