removed "entered" log, fixed loading symbol, implemented category update with editing
This commit is contained in:
parent
0ddfe3e606
commit
497c556a87
6 changed files with 25 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useRef, useState, useMemo } from 'react';
|
||||
import React, { useMemo, useRef, useState } from 'react';
|
||||
import { NativeScrollEvent, NativeSyntheticEvent, StyleSheet, View } from 'react-native';
|
||||
import { Calendar } from 'react-native-calendars';
|
||||
import { FlatList, RefreshControl } from 'react-native-gesture-handler';
|
||||
|
|
@ -6,9 +6,8 @@ import { SafeAreaView } from 'react-native-safe-area-context';
|
|||
import { ExpenseItem, LoadingSymbol, Plus, TextInputBar, Welcome } from '../../../components';
|
||||
import useFetch from '../../../hooks/useFetch';
|
||||
|
||||
import { addExpense, executeQuery } from "../../../services/database";
|
||||
import { useAuth } from '../../contexts/AuthContext';
|
||||
import { useRouter } from "expo-router";
|
||||
import { addExpense } from "../../../services/database";
|
||||
import { SimpleDate } from '../../../util/SimpleDate';
|
||||
import { useTheme } from '../../contexts/ThemeContext';
|
||||
|
||||
|
|
@ -22,7 +21,6 @@ type MarkedDates = {
|
|||
}
|
||||
|
||||
const constructMarkedDates = (data : {[column: string]: any}) => {
|
||||
console.log("entered")
|
||||
let markedDates: MarkedDates = {};
|
||||
data.forEach((value: any) => {
|
||||
const dateKey: string = String(value["expense_datetime"]).split(" ")[0]
|
||||
|
|
|
|||
Reference in a new issue