Merge branch 'develop' into feature/paypal-integration
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user