diff --git a/pages/index.tsx b/pages/index.tsx index 61b3479b4080107a75e3205bface8565246da1d0..d86dc07bccdddcd45cb2671ef001e8494eb5c724 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,23 +1,8 @@ -import { EuiPageHeader, EuiSpacer } from '@elastic/eui'; -import { - WfoStartPage, - useWfoSession, -} from '@orchestrator-ui/orchestrator-ui-components'; -import { useTranslations } from 'next-intl'; +import { WfoStartPage } from '@orchestrator-ui/orchestrator-ui-components'; import React from 'react'; export function Index() { - const { session } = useWfoSession(); - const t = useTranslations('main'); - const username = session?.user?.name || ''; - - return ( - <> - <EuiPageHeader pageTitle={`${t('welcome')} ${username}`} /> - <EuiSpacer /> - <WfoStartPage /> - </> - ); + return <WfoStartPage />; } export default Index;