Skip to content

Commit

Permalink
fix: claims data
Browse files Browse the repository at this point in the history
  • Loading branch information
fearlessfe committed Jul 31, 2024
1 parent 713e63b commit 8e890ff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pages/game/[game].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import Skeleton from "react-loading-skeleton";
import { shortenAddress } from "@/utils";
import {
formatSeconds,
formatTimestamp,
formatTtl,
getHumanDate,
} from "@/utils/date";

const GameDetail = () => {
Expand All @@ -26,7 +23,7 @@ const GameDetail = () => {
});
return (
<div className="flex flex-col gap-4">
{gameLoading && isLoading ? (
{(gameLoading || isLoading) ? (
<Skeleton style={{ width: "100%" }} height={250} />
) : (
<div className="col-span-3 grid w-full grid-cols-3 gap-2 sm:col-span-3 sm:grid-cols-3">
Expand Down

0 comments on commit 8e890ff

Please sign in to comment.