Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjeatt committed Jun 27, 2024
1 parent 89e9313 commit 95a55d1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const PartnerCard = ({
const isMobile = useMediaQuery(theme.breakpoints.down('md'));

const getMedalIcon = () => {
if (!medal) return;

const medalIcon = medal === 'gold' ? <MedalGold /> : medal === 'silver' ? <MedalSilver /> : <MedalBronze />;
const capitalisedMedalName = medal.charAt(0).toUpperCase() + medal.slice(1);

Expand Down

0 comments on commit 95a55d1

Please sign in to comment.