fixed a lot of lint and work on utils

This commit is contained in:
Boki 2025-06-19 21:07:37 -04:00
parent 4881a38c32
commit 42bc2966df
17 changed files with 183 additions and 93 deletions

View file

@ -19,7 +19,7 @@ export function formatPercentage(value: number): string {
}
export function getValueColor(value: number): string {
if (value > 0) return 'text-success';
if (value < 0) return 'text-danger';
if (value > 0) {return 'text-success';}
if (value < 0) {return 'text-danger';}
return 'text-text-secondary';
}