diff --git a/frontend/app/PrivateRoutes.tsx b/frontend/app/PrivateRoutes.tsx index d72d67368..491ac8f13 100644 --- a/frontend/app/PrivateRoutes.tsx +++ b/frontend/app/PrivateRoutes.tsx @@ -10,6 +10,7 @@ import { Loader } from 'UI'; import APIClient from './api_client'; import * as routes from './routes'; import { debounceCall } from '@/utils'; +import { hasAi } from './utils/split-utils'; const components: any = { SessionPure: lazy(() => import('Components/Session/Session')), @@ -273,12 +274,12 @@ function PrivateRoutes() { path={withSiteId(LIVE_SESSION_PATH, siteIdList)} component={enhancedComponents.LiveSession} /> - + /> : null} {Object.entries(routes.redirects).map(([fr, to]) => ( ))} diff --git a/frontend/app/utils/split-utils.ts b/frontend/app/utils/split-utils.ts index 3960ccd4d..bb0b27971 100644 --- a/frontend/app/utils/split-utils.ts +++ b/frontend/app/utils/split-utils.ts @@ -2,4 +2,4 @@ * can be overwritten in saas or ee editions * */ -export const hasAi = true //DEBUG false; +export const hasAi = false;