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) {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center">
|
||||
<p className="font-semibold text-sm">connecting...</p>
|
||||
</div>
|
||||
<ServerDetailChartLoading />
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -19,9 +19,7 @@ export default function ServerDetailOverview() {
|
||||
// 检查连接状态
|
||||
if (readyState !== 1) {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center">
|
||||
<p className="font-semibold text-sm">connecting...</p>
|
||||
</div>
|
||||
<ServerDetailLoading />
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user