@@ -341,7 +337,7 @@ export const HeaderWithFilters = ({
onFilterSelect({ pickedTopic: item.value });
}}
options={[
- ...(contestFiltersVisible
+ ...(isContestAvailable
? [{ type: 'header', label: 'Topics' }]
: []),
{
@@ -354,7 +350,7 @@ export const HeaderWithFilters = ({
value: t.name,
label: t.name,
})),
- ...(contestFiltersVisible
+ ...(isContestAvailable
? [
{ type: 'header-divider', label: 'Contests' },
...contestNameOptions,
diff --git a/packages/commonwealth/client/vite.config.ts b/packages/commonwealth/client/vite.config.ts
index 46846c4e3f4..70ec66e8376 100644
--- a/packages/commonwealth/client/vite.config.ts
+++ b/packages/commonwealth/client/vite.config.ts
@@ -33,7 +33,6 @@ export default defineConfig(({ mode }) => {
// WARN: only used locally never in remote (Heroku) apps
const featureFlags = {
'process.env.FLAG_NEW_EDITOR': JSON.stringify(env.FLAG_NEW_EDITOR),
- 'process.env.FLAG_CONTEST': JSON.stringify(env.FLAG_CONTEST),
'process.env.FLAG_CONTEST_DEV': JSON.stringify(env.FLAG_CONTEST_DEV),
'process.env.FLAG_WEIGHTED_TOPICS': JSON.stringify(
env.FLAG_WEIGHTED_TOPICS,