diff options
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/Products.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/containers/Products.tsx b/src/containers/Products.tsx index c96e6a9..9b4f507 100644 --- a/src/containers/Products.tsx +++ b/src/containers/Products.tsx @@ -1,6 +1,6 @@ import React from 'react'; import Paper from '../components/Paper'; -import ListTable from '../components/ListTable'; +import DataTable from '../components/DataTable'; const fields = [ { key: '_id', label: 'ID' }, @@ -19,7 +19,7 @@ const items = [ const Home: React.FC = () => ( <Paper> - <ListTable items={items} fields={fields} /> + <DataTable title="Товары" items={items} fields={fields} /> </Paper> ); |