diff --git a/clients/ops/privacy-center/pages/consent.tsx b/clients/ops/privacy-center/pages/consent.tsx index bb15f29f6d..0818ac955d 100644 --- a/clients/ops/privacy-center/pages/consent.tsx +++ b/clients/ops/privacy-center/pages/consent.tsx @@ -146,9 +146,10 @@ const Consent: NextPage = () => { } ); (await response.json()) as ApiUserConcents; + router.push("/"); // TODO: display alert on successful patch // TODO: display error alert on failed patch - }, [consentItems, consentRequestId, verificationCode]); + }, [consentItems, consentRequestId, verificationCode, router]); return (