Skip to content

Commit 28e60e3

Browse files
fix: Removed IS_DEV for debug mode (#161)
1 parent a4e548a commit 28e60e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ import EmbeddingOptions from "./EmbeddingOptions"
5151
import { CREATE_HAI_RULES_PROMPT, HAI_RULES_PATH } from "@utils/constants"
5252
import { validateEmbeddingConfiguration } from "@shared/validate"
5353

54-
const { IS_DEV } = process.env
55-
5654
// Styles for the tab system
5755
const settingsTabsContainer = "flex flex-1 overflow-hidden [&.narrow_.tab-label]:hidden"
5856
const settingsTabList =
@@ -709,8 +707,7 @@ const SettingsView = ({ onDone, targetSection }: SettingsViewProps) => {
709707
</div>
710708
)}
711709

712-
{/* Debug Tab (only in dev mode) */}
713-
{IS_DEV && activeTab === "debug" && (
710+
{activeTab === "debug" && (
714711
<div>
715712
{renderSectionHeader("debug")}
716713
<Section>

0 commit comments

Comments
 (0)