diff --git a/src/components/profile/AchievementBadge.tsx b/src/components/profile/AchievementBadge.tsx index fac5e77..33ac168 100644 --- a/src/components/profile/AchievementBadge.tsx +++ b/src/components/profile/AchievementBadge.tsx @@ -2,7 +2,7 @@ import { AchievementType } from '@api/responses'; import { LevelType } from '../../types/types'; import React, { useState } from 'react'; import { YStack, SizableText, XStack, Progress, Accordion } from 'tamagui'; -import { achievementLookupTable } from '@utils/achievementLookup'; +import { achievementLookupTable, getAchievementDescription } from '@utils/achievementLookup'; import { Pressable } from 'react-native'; import { Feather } from '@expo/vector-icons'; @@ -54,7 +54,7 @@ const AchievementBadge: React.FC = ({ name, condition, progress, type, le - + {getAchievementDescription(type, condition)}