Vizzuality/landgriffon

View on GitHub
marketing/src/containers/third-party-cookies/component.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ThirdParty has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ThirdParty: React.FC = () => {
  const [userConsent, setUserConsent] = useCookie('consent', undefined);

  const consent = useMemo(() => {
    if (userConsent === 'true') return true;
Severity: Minor
Found in marketing/src/containers/third-party-cookies/component.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status