diff --git a/apps/console/src/pages/organizations/cookie-banners/NewCookieBannerPage.tsx b/apps/console/src/pages/organizations/cookie-banners/NewCookieBannerPage.tsx index 811259409..ec93bff6a 100644 --- a/apps/console/src/pages/organizations/cookie-banners/NewCookieBannerPage.tsx +++ b/apps/console/src/pages/organizations/cookie-banners/NewCookieBannerPage.tsx @@ -21,10 +21,7 @@ import { Card, Field, Input, - Label, - Option, PageHeader, - Select, useToast, } from "@probo/ui"; import { type FormEvent, useState } from "react"; @@ -63,7 +60,6 @@ export default function NewCookieBannerPage() { const [cookiePolicyUrl, setCookiePolicyUrl] = useState(""); const [privacyPolicyUrl, setPrivacyPolicyUrl] = useState(""); const [consentExpiryDays, setConsentExpiryDays] = useState("365"); - const [consentMode, setConsentMode] = useState("OPT_IN"); const handleSubmit = (e: FormEvent) => { e.preventDefault(); @@ -77,7 +73,6 @@ export default function NewCookieBannerPage() { cookiePolicyUrl, privacyPolicyUrl: privacyPolicyUrl || undefined, consentExpiryDays: parseInt(consentExpiryDays, 10), - consentMode: consentMode as "OPT_IN" | "OPT_OUT", }, }, onCompleted(data) { @@ -155,26 +150,15 @@ export default function NewCookieBannerPage() { /> -
-
- - setConsentExpiryDays(e.target.value)} - min="1" - required - /> -
- -
- - -
-
+ + setConsentExpiryDays(e.target.value)} + min="1" + required + /> +