refactor: move fetching to react query

This commit is contained in:
Carlos Valente
2023-12-15 10:49:52 +01:00
parent 884947374d
commit 95d7b61529
6 changed files with 101 additions and 66 deletions
@@ -1,6 +1,6 @@
export type GoogleSheet = {
worksheet: string;
id: string;
worksheet: string | null;
id: string | null;
};
export type GoogleSheetState = {
@@ -9,4 +9,4 @@ export type GoogleSheetState = {
id: boolean;
worksheet: boolean;
worksheetOptions: string[];
};
} | null;