Skip to content

Commit b218df3

Browse files
1363 Removes header from app, it is part of the startpage in the library
1 parent 0246f0f commit b218df3

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

pages/index.tsx

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
import React from 'react';
22

3-
import { useTranslations } from 'next-intl';
4-
5-
import { EuiPageHeader, EuiSpacer } from '@elastic/eui';
6-
import {
7-
WfoStartPage,
8-
useWfoSession,
9-
} from '@orchestrator-ui/orchestrator-ui-components';
3+
import { WfoStartPage } from '@orchestrator-ui/orchestrator-ui-components';
104

115
export function Index() {
12-
const { session } = useWfoSession();
13-
const t = useTranslations('main');
14-
const username = session?.user?.name || '';
15-
16-
return (
17-
<>
18-
<EuiPageHeader pageTitle={`${t('welcome')} ${username}`} />
19-
<EuiSpacer />
20-
<WfoStartPage />
21-
</>
22-
);
6+
return <WfoStartPage />;
237
}
248

259
export default Index;

0 commit comments

Comments
 (0)