Skip to content

Commit ddf70ff

Browse files
committed
1 parent d7b968b commit ddf70ff

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

components/consent-provider.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,15 @@ const dialogTheme = {
145145
} as const
146146

147147
const options = backendURL
148-
? ({ mode: "c15t" as const, backendURL, legalLinks: { privacyPolicy: { href: "/privacy" }, termsOfService: { href: "/terms" } } })
149-
: ({ mode: "offline" as const, legalLinks: { privacyPolicy: { href: "/privacy" }, termsOfService: { href: "/terms" } } })
148+
? {
149+
mode: "c15t" as const,
150+
backendURL,
151+
legalLinks: { privacyPolicy: { href: "/privacy" }, termsOfService: { href: "/terms" } },
152+
}
153+
: {
154+
mode: "offline" as const,
155+
legalLinks: { privacyPolicy: { href: "/privacy" }, termsOfService: { href: "/terms" } },
156+
}
150157

151158
export function ConsentProvider({ children }: { children: React.ReactNode }) {
152159
return (

0 commit comments

Comments
 (0)