fix: Load routes through context instead of import #17344
Annotations
12 errors
build
Module '"react-router-dom"' has no exported member 'useContext'.
|
build
Cannot find module './RoutesContext' or its corresponding type declarations.
|
build
Argument of type 'unknown[]' is not assignable to parameter of type 'AgnosticRouteObject[]'.
|
build
Module '"react-router-dom"' has no exported member 'useContext'.
|
build
Cannot find module './RoutesContext' or its corresponding type declarations.
|
build
Argument of type 'unknown[]' is not assignable to parameter of type 'AgnosticRouteObject[]'.
|
build
Module '"react-router-dom"' has no exported member 'useContext'.
|
build
Cannot find module './RoutesContext' or its corresponding type declarations.
|
build
Argument of type 'unknown[]' is not assignable to parameter of type 'AgnosticRouteObject[]'.
|
build
Module '"react-router-dom"' has no exported member 'useContext'.
|
test-results
No artifacts found matching pattern 'tests-output-*'
|
test-results
Process completed with exit code 1.
|