fix: loading

This commit is contained in:
hamster1963 committed 2024-11-24 03:09:34 +08:00
1 parent aae837c110
commit 56d6305096
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -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 />
);
}
+1 -3
View File
@@ -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 />
);
}