Skip to content

Commit 88f6d8f

Browse files
Locrian24Copilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8609d03 commit 88f6d8f

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

packages/mint-components/src/components/sqm-big-stat/useBigStat.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -947,11 +947,15 @@ const rewardsBalanceQuery = (
947947
}
948948
`,
949949
{
950-
value: totalEarned,
951-
unit,
952-
locale,
953-
format: formatType,
954-
});
950+
value: totalEarned,
951+
unit,
952+
locale,
953+
format: formatType,
954+
},
955+
{
956+
skip: res.loading,
957+
}
958+
);
955959

956960
return {
957961
value: totalEarned,

0 commit comments

Comments
 (0)