Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Oct 19, 2024
1 parent 57c7a60 commit 4695819
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 108 deletions.
2 changes: 1 addition & 1 deletion app/[locale]/(main)/ClientComponents/ServerListClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Loading

0 comments on commit 4695819

Please sign in to comment.