Skip to content

Commit

Permalink
apply color codes in flip props
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-luger committed Sep 19, 2024
1 parent 2ffcee5 commit 9592c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Flipper/Flip/Flip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Badge, Card } from 'react-bootstrap'
import { toast } from 'react-toastify'
import { CUSTOM_EVENTS } from '../../../api/ApiTypes.d'
import { getFlipCustomizeSettings, getFlipFinders } from '../../../utils/FlipUtils'
import { formatDungeonStarsInString, formatToPriceToShorten, getStyleForTier } from '../../../utils/Formatter'
import { formatDungeonStarsInString, formatToPriceToShorten, getMinecraftColorCodedElement, getStyleForTier } from '../../../utils/Formatter'
import { useForceUpdate } from '../../../utils/Hooks'
import { CopyButton } from '../../CopyButton/CopyButton'
import Number from '../../Number/Number'
Expand Down Expand Up @@ -224,7 +224,7 @@ function Flip(props: Props) {
if (i >= settings.maxExtraInfoFields!) {
return ''
} else {
return <li key={i}>{prop}</li>
return <li key={i}>{getMinecraftColorCodedElement(prop)}</li>
}
})}
</ul>
Expand Down

0 comments on commit 9592c9a

Please sign in to comment.