marketing/src/containers/third-party-cookies/component.tsx
Function ThirdParty
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const ThirdParty: React.FC = () => {
const [userConsent, setUserConsent] = useCookie('consent', undefined);
const consent = useMemo(() => {
if (userConsent === 'true') return true;