Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix redirect on cancel

kruzhambusa8e5716a1346
diff --git a/src/pages/Captcha/Settings/CaptchaSettings.jsx b/src/pages/Captcha/Settings/CaptchaSettings.jsx
index 83b726586..3f44937bf 100644
--- a/src/pages/Captcha/Settings/CaptchaSettings.jsx
+++ b/src/pages/Captcha/Settings/CaptchaSettings.jsx
@@ -244,7 +244,7 @@ const CaptchaSettings = ({
}
const onCancel = () => {
- history.push(isSettings ? _replace(routes.project, ':id', id) : routes.dashboard)
+ history.push(isSettings ? _replace(routes.captcha, ':id', id) : routes.dashboard)
}
const title = isSettings ? `${t('project.settings.settings')} ${form.name}` : t('project.settings.create')