Skip to content

Commit cf701b0

Browse files
committed
fix: make isChallengeCard optional to fix typescript error
1 parent 2d414b2 commit cf701b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/cards/challenge/RewardCertificate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { ReactElement } from "react";
88
interface RewardCertificateProps {
99
rewards: Reward[];
1010
isReward?: boolean;
11-
isChallengeCard:boolean;
11+
isChallengeCard?:boolean;
1212
}
1313

1414
/**

0 commit comments

Comments
 (0)