Skip to content

Commit

Permalink
add react-table dep, update empty state
Browse files Browse the repository at this point in the history
  • Loading branch information
evwilkin committed Feb 6, 2024
1 parent 40cd987 commit ab01279
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/Inventory/Inventory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
Popper,
Pagination,
EmptyState,
EmptyStateHeader,
EmptyStateFooter,
EmptyStateBody,
Button,
Expand All @@ -23,7 +22,6 @@ import {
ToolbarFilter,
ToolbarToggleGroup,
EmptyStateActions,
EmptyStateIcon,
} from '@patternfly/react-core';
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';

Check failure on line 26 in src/app/Inventory/Inventory.tsx

View workflow job for this annotation

GitHub Actions / Lint

Member 'Th' of the import declaration should be sorted alphabetically
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
Expand Down Expand Up @@ -625,8 +623,7 @@ export const FilterAttributeSearch: React.FunctionComponent = () => {
);

const emptyState = (
<EmptyState>
<EmptyStateHeader headingLevel="h4" titleText="No results found" icon={<EmptyStateIcon icon={SearchIcon} />} />
<EmptyState headingLevel="h4" titleText="No results found" icon={SearchIcon}>
<EmptyStateBody>No results match the filter criteria. Clear all filters and try again.</EmptyStateBody>
<EmptyStateFooter>
<EmptyStateActions>
Expand Down

0 comments on commit ab01279

Please sign in to comment.