mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat: style vendor form and list.
feat: items state selectors.
This commit is contained in:
@@ -65,8 +65,9 @@ function ItemsList({
|
||||
);
|
||||
|
||||
// Handle fetching the items table based on the given query.
|
||||
const fetchItems = useQuery(['items-table', itemsTableQuery], () =>
|
||||
requestFetchItems({}),
|
||||
const fetchItems = useQuery(
|
||||
['items-table', itemsTableQuery],
|
||||
(key, _query) => requestFetchItems({ ..._query }),
|
||||
);
|
||||
|
||||
// Handle click delete item.
|
||||
|
||||
Reference in New Issue
Block a user