last changes
This commit is contained in:
parent
7a5ace403e
commit
899b50ded4
16 changed files with 53 additions and 89 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { useState, useEffect } from 'react';
|
||||
import useFetch from './useFetch';
|
||||
import { CategoryType } from '../services/database';
|
||||
import { CategoryType } from '../types/dbItems';
|
||||
|
||||
export const useCategoryData = (CategoryType: string) => {
|
||||
const [data, setData] = useState({ total: 0, expenseTotal: 0 });
|
||||
|
|
|
|||
Reference in a new issue