Converting File Statistics to locale strings.

This commit is contained in:
Roland 2022-12-15 13:50:58 -07:00
parent f8c0e77f87
commit b47df503ab
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
3 changed files with 15 additions and 9 deletions

View file

@ -729,10 +729,12 @@ export const useFileStatistics = () => {
setStatistics(statistics || undefined);
} catch (e) {
console.error(e);
setStatistics(undefined);
}
}
useEffect(() => {
setStatistics(null);
fetchFileStatistics();
}, []);