diff --git a/packages/commonwealth/client/scripts/views/pages/discussions/HeaderWithFilters/HeaderWithFilters.tsx b/packages/commonwealth/client/scripts/views/pages/discussions/HeaderWithFilters/HeaderWithFilters.tsx index 0c722c2dd39..1948723aac6 100644 --- a/packages/commonwealth/client/scripts/views/pages/discussions/HeaderWithFilters/HeaderWithFilters.tsx +++ b/packages/commonwealth/client/scripts/views/pages/discussions/HeaderWithFilters/HeaderWithFilters.tsx @@ -97,7 +97,7 @@ export const HeaderWithFilters = ({ const contestAddress = searchParams.get('contest'); const createButtonText = - activeContests.length || contestAddress ? 'Create' : 'Create thread'; + activeContests?.length || contestAddress ? 'Create' : 'Create thread'; const onFilterResize = () => { if (filterRowRef.current) {