mirror of
https://github.com/karl0ss/homepage.git
synced 2025-07-04 15:09:09 +01:00
Fix: resources network better startup behavior
This commit is contained in:
parent
cbf304a4c8
commit
385511f773
@ -18,7 +18,7 @@ export default function Network({ options, refresh = 1500 }) {
|
|||||||
return <Error />;
|
return <Error />;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data || !data.network) {
|
if (!data || !data.network || !data.network.rx_sec || !data.network.tx_sec) {
|
||||||
return (
|
return (
|
||||||
<Resource
|
<Resource
|
||||||
icon={FaNetworkWired}
|
icon={FaNetworkWired}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user