Skip to content

Commit

Permalink
1363 Removes header from app, it is part of the startpage in the library
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardovdheijden committed Sep 17, 2024
1 parent 0246f0f commit c845c54
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
import React from 'react';

import { useTranslations } from 'next-intl';

import { EuiPageHeader, EuiSpacer } from '@elastic/eui';
import {
WfoStartPage,
useWfoSession,
} from '@orchestrator-ui/orchestrator-ui-components';
import { WfoStartPage } from '@orchestrator-ui/orchestrator-ui-components';

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;

0 comments on commit c845c54

Please sign in to comment.