Skip to content

Commit

Permalink
fix(deps): update dependency react-router-dom to v7 (#170)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian Meyer <[email protected]>
renovate[bot] and meyfa authored Nov 30, 2024
1 parent f79733c commit bc841bf
Showing 4 changed files with 38 additions and 27 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/Job.tsx
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ const JobStatus: FunctionComponent<{
if (props.job.settings.debugLogging != null) {
params.set('debugLogging', props.job.settings.debugLogging.toString())
}
navigate(`/trigger?${params.toString()}`)
void navigate(`/trigger?${params.toString()}`)
}, [props.job, navigate])

const common = (
2 changes: 1 addition & 1 deletion frontend/src/pages/Trigger.tsx
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ export const Trigger: FunctionComponent = () => {
// redirect to job page when jobData is available
useEffect(() => {
if (jobData != null) {
navigate(`/jobs/${encodeURIComponent(jobData.namespace)}/${encodeURIComponent(jobData.name)}`)
void navigate(`/jobs/${encodeURIComponent(jobData.namespace)}/${encodeURIComponent(jobData.name)}`)
}
}, [jobData, navigate])

59 changes: 35 additions & 24 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
@@ -60,7 +60,7 @@
"openid-client": "5.7.1",
"passport-local": "1.0.0",
"pino": "9.5.0",
"react-router-dom": "6.28.0",
"react-router-dom": "7.0.1",
"superstruct": "2.0.2",
"yaml": "2.6.1"
},

0 comments on commit bc841bf

Please sign in to comment.