Skip to content

Commit 6468c48

Browse files
fix(deps): update dependency react-router-dom to v7 (#1881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 41f3c1a commit 6468c48

File tree

5 files changed

+46
-35
lines changed

5 files changed

+46
-35
lines changed

packages/redux-devtools-inspector-monitor-test-tab/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"react-dom": "^19.1.0",
2323
"react-is": "^19.1.0",
2424
"react-redux": "^9.2.0",
25-
"react-router-dom": "^6.30.1",
25+
"react-router-dom": "^7.6.1",
2626
"redux": "^5.0.1",
2727
"redux-logger": "^3.0.6",
2828
"styled-components": "^5.3.11"

packages/redux-devtools-inspector-monitor/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-bootstrap": "^2.10.10",
2222
"react-dom": "^19.1.0",
2323
"react-redux": "^9.2.0",
24-
"react-router-dom": "^6.30.1",
24+
"react-router-dom": "^7.6.1",
2525
"redux": "^5.0.1",
2626
"redux-logger": "^3.0.6"
2727
},

packages/redux-devtools-inspector-monitor/demo/src/DemoApp.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,22 +155,22 @@ function DemoApp(props: Props) {
155155
});
156156
};
157157

158-
const toggleImmutableSupport = () => {
158+
const toggleImmutableSupport = async () => {
159159
const options = getOptions(location);
160160

161-
navigate(
161+
await navigate(
162162
buildUrl({ ...options, supportImmutable: !options.supportImmutable }),
163163
);
164164
};
165165

166-
const toggleTheme = () => {
166+
const toggleTheme = async () => {
167167
const options = getOptions(location);
168168

169-
navigate(buildUrl({ ...options, dark: !options.dark }));
169+
await navigate(buildUrl({ ...options, dark: !options.dark }));
170170
};
171171

172-
const setTheme = (options: Options, theme: string) => {
173-
navigate(buildUrl({ ...options, theme }));
172+
const setTheme = async (options: Options, theme: string) => {
173+
await navigate(buildUrl({ ...options, theme }));
174174
};
175175

176176
const toggleTimeoutUpdate = () => {

packages/redux-devtools-rtk-query-monitor/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"react-icons": "^5.5.0",
2727
"react-is": "^19.1.0",
2828
"react-redux": "^9.2.0",
29-
"react-router-dom": "^6.30.1",
29+
"react-router-dom": "^7.6.1",
3030
"styled-components": "^5.3.11"
3131
},
3232
"devDependencies": {

pnpm-lock.yaml

Lines changed: 37 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)