diff --git a/frontend/src/assets/img/ossSegments.png b/frontend/src/assets/img/ossSegments.png deleted file mode 100644 index 02593ef0fe..0000000000 Binary files a/frontend/src/assets/img/ossSegments.png and /dev/null differ diff --git a/frontend/src/assets/img/ossSegmentsConfetti.svg b/frontend/src/assets/img/ossSegmentsConfetti.svg deleted file mode 100644 index 9bdf15af75..0000000000 --- a/frontend/src/assets/img/ossSegmentsConfetti.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/frontend/src/component/layout/MainLayout/MainLayout.tsx b/frontend/src/component/layout/MainLayout/MainLayout.tsx index 55b0f38ae0..7d7f5b1578 100644 --- a/frontend/src/component/layout/MainLayout/MainLayout.tsx +++ b/frontend/src/component/layout/MainLayout/MainLayout.tsx @@ -15,7 +15,6 @@ import { useChangeRequestsEnabled } from 'hooks/useChangeRequestsEnabled'; import { DraftBanner } from './DraftBanner/DraftBanner'; import { ThemeMode } from 'component/common/ThemeMode/ThemeMode'; import { Demo } from 'component/demo/Demo'; -import { SegmentsSplashScreen } from 'component/splash/SegmentsSplashScreen/SegmentsSplashScreen'; interface IMainLayoutProps { children: ReactNode; @@ -77,17 +76,12 @@ const MainLayoutContentContainer = styled('div')(({ theme }) => ({ export const MainLayout = forwardRef( ({ children }, ref) => { - const { uiConfig, isOss, loading } = useUiConfig(); + const { uiConfig } = useUiConfig(); const projectId = useOptionalPathParam('projectId'); const { isChangeRequestConfiguredInAnyEnv } = useChangeRequestsEnabled( projectId || '', ); - // only show segment splash if we're really certain it's OSS. - // Otherwise it might lead to flashing the splash to - // pro/enterprise users before data has loaded. - const showSegmentSplash = !loading && isOss(); - return ( <> @@ -133,10 +127,6 @@ export const MainLayout = forwardRef(