Let's try this one out now

This commit is contained in:
Tiago Ribeiro
2023-11-26 21:49:39 +00:00
parent c2f83d996a
commit 472d4a3331
6 changed files with 90 additions and 15 deletions

View File

@@ -8,3 +8,7 @@ export function dateSorter(a: any, b: any, direction: "asc" | "desc", key: strin
if (moment(b[key]).isAfter(a[key])) return direction === "asc" ? 1 : -1;
return 0;
}
export function env(key: string) {
return (window as any).__ENV[key];
}