last changes

This commit is contained in:
Jakob Stornig 2024-01-25 20:35:09 +01:00
parent 7a5ace403e
commit 899b50ded4
16 changed files with 53 additions and 89 deletions

View file

@ -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 });