diff --git a/frontend/src/pages/Job.tsx b/frontend/src/pages/Job.tsx index 8cba97b..03f5a3b 100644 --- a/frontend/src/pages/Job.tsx +++ b/frontend/src/pages/Job.tsx @@ -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 = ( diff --git a/frontend/src/pages/Trigger.tsx b/frontend/src/pages/Trigger.tsx index cdaef4c..d427b28 100644 --- a/frontend/src/pages/Trigger.tsx +++ b/frontend/src/pages/Trigger.tsx @@ -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])