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 { DataLoader } from './components/data-loader/DataLoader';
|
||||||
import { HttpClientContext } from './http-service/HttpClientContext';
|
import { HttpClientContext } from './http-service/HttpClientContext';
|
||||||
import { Client } from './clients/client-model';
|
import { Client } from './clients/client-model';
|
||||||
import { Page } from '@patternfly/react-core';
|
import { Page, PageSection } from '@patternfly/react-core';
|
||||||
import { Header } from './PageHeader';
|
import { Header } from './PageHeader';
|
||||||
import { PageNav } from './PageNav';
|
import { PageNav } from './PageNav';
|
||||||
|
|
||||||
|
@ -18,9 +18,11 @@ export const App = () => {
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<Page header={<Header />} sidebar={<PageNav />}>
|
<Page header={<Header />} sidebar={<PageNav />}>
|
||||||
<DataLoader loader={loader}>
|
<PageSection>
|
||||||
{(clients) => <ClientList clients={clients} />}
|
<DataLoader loader={loader}>
|
||||||
</DataLoader>
|
{(clients) => <ClientList clients={clients} />}
|
||||||
|
</DataLoader>
|
||||||
|
</PageSection>
|
||||||
</Page>
|
</Page>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue