diff --git a/src/app/(main)/discover/_layout/Desktop/Header.tsx b/src/app/(main)/discover/_layout/Desktop/Header.tsx index e5aa64b76706..4c48f53d73ae 100644 --- a/src/app/(main)/discover/_layout/Desktop/Header.tsx +++ b/src/app/(main)/discover/_layout/Desktop/Header.tsx @@ -5,6 +5,7 @@ import Link from 'next/link'; import { memo } from 'react'; import { ProductLogo } from '@/components/Branding'; +import { isCustomBranding } from '@/const/version'; import CreateButton from '../../features/CreateButton'; import StoreSearchBar from '../../features/StoreSearchBar'; @@ -17,7 +18,7 @@ const Header = memo(() => { } - right={} + right={!isCustomBranding && } style={{ position: 'relative', zIndex: 10, diff --git a/src/app/(main)/settings/llm/index.tsx b/src/app/(main)/settings/llm/index.tsx index ad003761335e..6d0c823f7d53 100644 --- a/src/app/(main)/settings/llm/index.tsx +++ b/src/app/(main)/settings/llm/index.tsx @@ -2,6 +2,8 @@ import { Flexbox } from 'react-layout-kit'; +import { isCustomBranding } from '@/const/version'; + import { useProviderList } from './ProviderList/providers'; import ProviderConfig from './components/ProviderConfig'; import Footer from './features/Footer'; @@ -14,7 +16,7 @@ const Page = () => { {list.map(({ id, ...res }) => ( ))} -