Skip to content

Commit

Permalink
fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 committed Oct 3, 2024
1 parent 16c563b commit d605a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const RewardsActivitiesListItem: FC<RewardActivitiesListItemProps> = ({
{`Expires in ${getUpdatedExpiryTime(activity.expiryType)} days`.toUpperCase()}
</Lozenge>
)}
{activity?.tags?.map((tag) => (
{activity.tags.map((tag) => (
<Lozenge
size="small"
icon={<Star />}
Expand Down
2 changes: 1 addition & 1 deletion src/queries/types/rewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export type Activity = {
JoinURL: string;
index: string;
status: 'ENABLED' | 'DISABLED';
tags?: [];
tags: [];
isExpired?: boolean;
};

Expand Down

0 comments on commit d605a60

Please sign in to comment.