added missing section
This commit is contained in:
parent
d6f2a014bf
commit
192d891e4f
1 changed files with 6 additions and 4 deletions
10
src/App.tsx
10
src/App.tsx
|
@ -4,7 +4,7 @@ import { ClientList } from './clients/ClientList';
|
|||
import { DataLoader } from './components/data-loader/DataLoader';
|
||||
import { HttpClientContext } from './http-service/HttpClientContext';
|
||||
import { Client } from './clients/client-model';
|
||||
import { Page } from '@patternfly/react-core';
|
||||
import { Page, PageSection } from '@patternfly/react-core';
|
||||
import { Header } from './PageHeader';
|
||||
import { PageNav } from './PageNav';
|
||||
|
||||
|
@ -18,9 +18,11 @@ export const App = () => {
|
|||
};
|
||||
return (
|
||||
<Page header={<Header />} sidebar={<PageNav />}>
|
||||
<DataLoader loader={loader}>
|
||||
{(clients) => <ClientList clients={clients} />}
|
||||
</DataLoader>
|
||||
<PageSection>
|
||||
<DataLoader loader={loader}>
|
||||
{(clients) => <ClientList clients={clients} />}
|
||||
</DataLoader>
|
||||
</PageSection>
|
||||
</Page>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue