mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 12:40:10 +00:00
fix: loading
This commit is contained in:
@@ -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 />
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user