diff --git a/src/components/SeoForm/SeoForm.tsx b/src/components/SeoForm/SeoForm.tsx index 544f6f2d4..0fc243951 100644 --- a/src/components/SeoForm/SeoForm.tsx +++ b/src/components/SeoForm/SeoForm.tsx @@ -94,7 +94,7 @@ const SeoForm: React.FC = props => { const intl = useIntl(); const [expanded, setExpansionStatus] = React.useState(false); const toggleExpansion = () => setExpansionStatus(!expanded); - const shouldDisplayHelperText = () => helperText && !expanded; + const shouldDisplayHelperText = helperText && !expanded; return ( @@ -112,7 +112,7 @@ const SeoForm: React.FC = props => { } /> - {shouldDisplayHelperText() && ( + {shouldDisplayHelperText && (