Skip to content

Commit bc841bf

Browse files
renovate[bot]meyfa
andauthored
fix(deps): update dependency react-router-dom to v7 (#170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fabian Meyer <3982806+meyfa@users.noreply.github.com>
1 parent f79733c commit bc841bf

File tree

4 files changed

+38
-27
lines changed

4 files changed

+38
-27
lines changed

frontend/src/pages/Job.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const JobStatus: FunctionComponent<{
7676
if (props.job.settings.debugLogging != null) {
7777
params.set('debugLogging', props.job.settings.debugLogging.toString())
7878
}
79-
navigate(`/trigger?${params.toString()}`)
79+
void navigate(`/trigger?${params.toString()}`)
8080
}, [props.job, navigate])
8181

8282
const common = (

frontend/src/pages/Trigger.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const Trigger: FunctionComponent = () => {
4343
// redirect to job page when jobData is available
4444
useEffect(() => {
4545
if (jobData != null) {
46-
navigate(`/jobs/${encodeURIComponent(jobData.namespace)}/${encodeURIComponent(jobData.name)}`)
46+
void navigate(`/jobs/${encodeURIComponent(jobData.namespace)}/${encodeURIComponent(jobData.name)}`)
4747
}
4848
}, [jobData, navigate])
4949

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"openid-client": "5.7.1",
6161
"passport-local": "1.0.0",
6262
"pino": "9.5.0",
63-
"react-router-dom": "6.28.0",
63+
"react-router-dom": "7.0.1",
6464
"superstruct": "2.0.2",
6565
"yaml": "2.6.1"
6666
},

0 commit comments

Comments
 (0)