mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 17:41:56 +08:00
fix: loading
This commit is contained in:
parent
aae837c110
commit
56d6305096
@ -62,9 +62,7 @@ export default function ServerDetailChart() {
|
|||||||
// 检查连接状态
|
// 检查连接状态
|
||||||
if (readyState !== 1) {
|
if (readyState !== 1) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center justify-center">
|
<ServerDetailChartLoading />
|
||||||
<p className="font-semibold text-sm">connecting...</p>
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,9 +19,7 @@ export default function ServerDetailOverview() {
|
|||||||
// 检查连接状态
|
// 检查连接状态
|
||||||
if (readyState !== 1) {
|
if (readyState !== 1) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center justify-center">
|
<ServerDetailLoading />
|
||||||
<p className="font-semibold text-sm">connecting...</p>
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user