Skip to content

Commit

Permalink
fix: campaign is ended (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmy147 authored May 24, 2024
1 parent fe3b7d2 commit 510c0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/RabbyPoints/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const useRabbyPoints = () => {
} = useAsync(async () => {
if (account?.address) {
const data = await wallet.openapi.getRabbyPointsCampaignIsEnded();
return data;
return data?.campaign_is_ended;
}
return;
}, [account?.address]);
Expand Down

0 comments on commit 510c0c5

Please sign in to comment.