Skip to content

Commit

Permalink
Merge pull request #19 from flipdot/renovate/major-react-router-monorepo
Browse files Browse the repository at this point in the history
chore(deps): update dependency react-router-dom to v7
  • Loading branch information
dargmuesli authored Nov 28, 2024
2 parents 07b461f + cc1f406 commit b251d7a
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 38 deletions.
74 changes: 42 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-oidc-context": "^3.2.0",
"react-router-dom": "^6.27.0",
"react-router": "^7.0.0",
"swr": "^2.2.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './App.css'
import Login from "./Login.tsx";
import {Route, Routes} from "react-router-dom";
import {Route, Routes} from "react-router";
import Home from "./Home.tsx";
import NavBar from "./NavBar.tsx";
import {hasAuthParams, useAuth} from "react-oidc-context";
Expand Down
2 changes: 1 addition & 1 deletion src/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import flipdotLogo from './assets/flipdot.svg'
import './App.css'
import {useNavigate} from "react-router-dom";
import {useNavigate} from "react-router";
import {useEffect} from "react";
import {useAuth} from "react-oidc-context";

Expand Down
2 changes: 1 addition & 1 deletion src/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fdLogo from './assets/fd.svg';
import "./NavBar.css";
import {Link} from "react-router-dom";
import {Link} from "react-router";
import Spinner from "./Spinner.tsx";
import {useAuth} from "react-oidc-context";

Expand Down
2 changes: 1 addition & 1 deletion src/NotFound.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {useNavigate} from "react-router-dom";
import {useNavigate} from "react-router";
import {useEffect} from "react";
import {useAuth} from "react-oidc-context";

Expand Down
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './main.css'
import App from './App.tsx'

import * as Sentry from "@sentry/react";
import {BrowserRouter} from "react-router-dom";
import {BrowserRouter} from "react-router";
import {AuthProvider, AuthProviderProps} from "react-oidc-context";
import AuthenticatedSWRConfig from "./AuthenticatedSWRConfig.tsx";
import {WebStorageStateStore} from "oidc-client-ts";
Expand Down

0 comments on commit b251d7a

Please sign in to comment.