Refactored fetching to use react-query.
This commit is contained in:
1 parent
7bbed0e12b
commit
c56f02c475
112 files changed
+255
-492
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ function getTimestampInterval(field: string): string {
|
||||
}
|
||||
}
|
||||
|
||||
function getJsonField(column, property, isNumber): string {
|
||||
function getJsonField(column: string, property: string, isNumber: boolean): string {
|
||||
const db = getDatabaseType(process.env.DATABASE_URL);
|
||||
|
||||
if (db === POSTGRESQL) {
|
||||
|
||||
Reference in new issue
Block a user