Skip to content

Commit

Permalink
chore: Drop search feature flag (#3667)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Sep 19, 2024
1 parent 43cb10e commit 22a9a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion editor.planx.uk/src/lib/featureFlags.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// add/edit/remove feature flags in array below
const AVAILABLE_FEATURE_FLAGS = ["SEARCH", "ADD_NEW_EDITOR"] as const;
const AVAILABLE_FEATURE_FLAGS = [] as const;

type FeatureFlag = (typeof AVAILABLE_FEATURE_FLAGS)[number];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Link from "@mui/material/Link";
import { styled } from "@mui/material/styles";
import Tabs from "@mui/material/Tabs";
import Tooltip from "@mui/material/Tooltip";
import { hasFeatureFlag } from "lib/featureFlags";
import React, { useState } from "react";
import { rootFlowPath } from "routes/utils";
import Permission from "ui/editor/Permission";
Expand Down Expand Up @@ -175,9 +174,7 @@ const Sidebar: React.FC = React.memo(() => {
<Tabs onChange={handleChange} value={activeTab} aria-label="">
<StyledTab value="PreviewBrowser" label="Preview" />
<StyledTab value="History" label="History" />
{hasFeatureFlag("SEARCH") && (
<StyledTab value="Search" label="Search" />
)}
<StyledTab value="Search" label="Search" />
<StyledTab value="Console" label="Console" />
</Tabs>
</TabList>
Expand Down

0 comments on commit 22a9a46

Please sign in to comment.