mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 03:16:22 -05:00
Converting File Statistics to locale strings.
This commit is contained in:
parent
f8c0e77f87
commit
b47df503ab
3 changed files with 15 additions and 9 deletions
|
|
@ -729,10 +729,12 @@ export const useFileStatistics = () => {
|
|||
setStatistics(statistics || undefined);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
setStatistics(undefined);
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
setStatistics(null);
|
||||
fetchFileStatistics();
|
||||
}, []);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue