fix: error message

This commit is contained in:
hamster1963 2024-10-20 00:36:22 +08:00
parent 57c7a60860
commit 46958194a4
2 changed files with 115 additions and 112 deletions

View File

@ -24,7 +24,7 @@ export default function ServerListClient() {
<p className="text-sm font-medium opacity-40">{t("error_message")}</p>
</div>
);
if (!data) return null;
if (!data?.result) return null;
const { result } = data;

File diff suppressed because one or more lines are too long