Sort stats after retrieving from api
This commit is contained in:
@@ -169,6 +169,7 @@ export function StatsPie({ data }: StatsPieProps) {
|
||||
borderWidth: 1
|
||||
}]
|
||||
};
|
||||
console.log(piedata)
|
||||
const getTextColor = () => {
|
||||
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'white' : 'black'
|
||||
}
|
||||
|
Reference in New Issue
Block a user