Skip to content

Bump react-router and react-router-dom #1069

Bump react-router and react-router-dom

Bump react-router and react-router-dom #1069

Triggered via push April 24, 2025 18:57
Status Failure
Total duration 1m 9s
Artifacts
Upload to Amazon S3 Staging
0s
Upload to Amazon S3 Staging
Upload to Amazon S3 Production
0s
Upload to Amazon S3 Production
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Type Check: src/components/FileUploadModal/url-upload-form.tsx#L4
Module '"react-router-dom"' has no exported member 'useHistory'.
Type Check: src/components/LoadFileMenu/index.tsx#L2
Module '"react-router-dom"' has no exported member 'useHistory'.
Type Check: src/components/LocalFileUpload/index.tsx#L71
Object literal may only specify known properties, and 'state' does not exist in type 'Partial<Path>'.
Type Check: src/containers/AppHeader/index.tsx#L2
Module '"react-router-dom"' has no exported member 'useHistory'.
Type Check: src/index.tsx#L9
Module '"react-router-dom"' has no exported member 'Switch'.
Type Check: src/index.tsx#L35
Conversion of type 'Location<any>' to type 'LocationWithState' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type Check: src/index.tsx#L92
Type '{ key: string; exact: boolean; path: string; component: (() => Element) | ConnectedComponent<typeof App, { ref?: LegacyRef<App> | undefined; key?: Key | null | undefined; context?: Context<...> | undefined; store?: Store<...> | undefined; }>; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
Type Check
Process completed with exit code 2.