Skip to content

Commit

Permalink
hopefully nothing breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ice-mourne committed Sep 25, 2023
1 parent 08ed4ee commit 7f752ec
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 194 deletions.
3 changes: 3 additions & 0 deletions src/components/itemPopup/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const calculateStat = (formula?: string) => {
}

const otherOptions = (linesContent: LinesContent) => {

if (linesContent?.link) return <a href={linesContent.link}>{linesContent.text}</a>
if (linesContent?.formula)
return (
Expand All @@ -25,6 +26,8 @@ const otherOptions = (linesContent: LinesContent) => {
return null
}



const joinClassNames = (classNames: (string | null | undefined)[] | undefined) => {
return classNames
?.flatMap((className: string | null | undefined) => {
Expand Down
Loading

0 comments on commit 7f752ec

Please sign in to comment.