You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/edge/edge-stacks/ListView/ListView.tsx

25 lines
532 B

import { useQueryClient } from '@tanstack/react-query';
import { PageHeader } from '@@/PageHeader';
import { queryKeys } from '../queries/query-keys';
import { EdgeStacksDatatable } from './EdgeStacksDatatable';
export function ListView() {
const queryClient = useQueryClient();
return (
<>
<PageHeader
title="Edge Stacks list"
breadcrumbs="Edge Stacks"
reload
onReload={() => queryClient.invalidateQueries(queryKeys.base())}
/>
<EdgeStacksDatatable />
</>
);
}