mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 16:25:51 +00:00
fix: 修复 ant 模式
This commit is contained in:
9
src/components/LogoV2/ExperimentEnrollmentNotice.tsx
Normal file
9
src/components/LogoV2/ExperimentEnrollmentNotice.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import * as React from 'react'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal-only component. Shows experiment enrollment status for internal
|
||||||
|
* users. Stubbed — returns null in non-internal builds.
|
||||||
|
*/
|
||||||
|
export function ExperimentEnrollmentNotice(): React.ReactNode {
|
||||||
|
return null
|
||||||
|
}
|
||||||
10
src/components/LogoV2/GateOverridesWarning.tsx
Normal file
10
src/components/LogoV2/GateOverridesWarning.tsx
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import * as React from 'react'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal-only component. Displays a warning when feature-gate overrides
|
||||||
|
* (CLAUDE_INTERNAL_FC_OVERRIDES) are active. Stubbed — returns null in
|
||||||
|
* non-internal builds.
|
||||||
|
*/
|
||||||
|
export function GateOverridesWarning(): React.ReactNode {
|
||||||
|
return null
|
||||||
|
}
|
||||||
@@ -49,6 +49,8 @@ import {
|
|||||||
import { EmergencyTip } from './EmergencyTip.js'
|
import { EmergencyTip } from './EmergencyTip.js'
|
||||||
import { VoiceModeNotice } from './VoiceModeNotice.js'
|
import { VoiceModeNotice } from './VoiceModeNotice.js'
|
||||||
import { Opus1mMergeNotice } from './Opus1mMergeNotice.js'
|
import { Opus1mMergeNotice } from './Opus1mMergeNotice.js'
|
||||||
|
import { GateOverridesWarning } from './GateOverridesWarning.js'
|
||||||
|
import { ExperimentEnrollmentNotice } from './ExperimentEnrollmentNotice.js'
|
||||||
import { feature } from 'bun:bundle'
|
import { feature } from 'bun:bundle'
|
||||||
|
|
||||||
// Conditional require so ChannelsNotice.tsx tree-shakes when both flags are
|
// Conditional require so ChannelsNotice.tsx tree-shakes when both flags are
|
||||||
|
|||||||
Reference in New Issue
Block a user