Skip to content

Commit

Permalink
[React] react-router v7
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Nov 25, 2024
1 parent 7c37c1f commit d44f9a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generators/react/resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"react-loadable": "5.5.0",
"react-redux": "9.1.2",
"react-redux-loading-bar": "5.0.8",
"react-router-dom": "6.28.0",
"react-router-dom": "7.0.1",
"react-toastify": "10.0.6",
"react-transition-group": "4.4.5",
"reactstrap": "9.2.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { MemoryRouter, Route, Routes } from 'react-router-dom';
import { Routes } from 'react-router';
import { MemoryRouter, Route } from 'react-router-dom';
import { render } from '@testing-library/react';
<%_ if (enableTranslation) { _%>
import { TranslatorContext } from 'react-jhipster';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { Outlet, Route, Routes, RoutesProps } from 'react-router-dom';
import { Routes } from 'react-router';
import { Outlet, Route, RoutesProps } from 'react-router-dom';
import ErrorBoundary from 'app/shared/error/error-boundary';

const ErrorBoundaryRoutes = ({ children }: RoutesProps) => {
Expand Down

0 comments on commit d44f9a2

Please sign in to comment.