Skip to content

fix: Load routes through context instead of import #17344

fix: Load routes through context instead of import

fix: Load routes through context instead of import #17344

Triggered via pull request July 3, 2024 12:41
@Artur-Artur-
opened #19665
Status Failure
Total duration 3m 36s
Artifacts

validation.yml

on: pull_request_target
Matrix: it-tests
Matrix: unit-tests
test-results
6s
test-results
Fit to window
Zoom out
Zoom in

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.