@@ -12,7 +12,7 @@ import { MaterialCost, MaterialImage } from "../../components/Material"
1212import YouTube from "../../components/YouTube"
1313import { CharacterCurves , CostTemplates , getCharacterCurves , getCharacters , getCostTemplates } from "../../utils/data-cache"
1414import { Character , CharacterFull , Constellation , CostTemplate , CurveEnum , Meta , Passive , Skill , Skills , TalentTable , TalentValue } from "../../utils/types"
15- import { elements , ElementType , getCharStatsAt , getCostsFromTemplate , getGuidesFor , getLinkToGuide , getStarColor , image , isFullCharacter , isValueTable , stat , urlify , weapons } from "../../utils/utils"
15+ import { elements , ElementType , getCharStatsAt , getCostsFromTemplate , getGuidesFor , getLinkToGuide , getStarColor , isFullCharacter , isValueTable , stat , urlify , weapons } from "../../utils/utils"
1616import styles from "../style.module.css"
1717
1818interface Props {
@@ -52,12 +52,12 @@ export default function CharacterWebpage({ char, location, characterCurves, cost
5252 { char . ascensionCosts && costTemplates && < TOC href = "#ascensions" title = "Ascensions" /> }
5353 { char . meta && < TOC href = "#meta" title = "Meta" /> }
5454 { char . media . videos && < TOC href = "#videos" title = { Object . keys ( char . media . videos ) . length > 1 ? "Videos" : "Video" } /> }
55- { char . skills && char . skills . map ( ( s , i ) => ( < >
55+ { char . skills && char . skills . map ( ( s , i ) => ( < span key = { i } >
5656 { multiskill && < div > { s . ult ?. type ?? `Skillset #${ i } ` } </ div > }
5757 { s . talents && < TOC depth = { multiskill ? 1 : 0 } href = { `#talents${ i > 0 ? `-${ i } ` : "" } ` } title = "Talents" /> }
5858 { s . passive && < TOC depth = { multiskill ? 1 : 0 } href = { `#passive${ i > 0 ? `-${ i } ` : "" } ` } title = "Passives" /> }
5959 { s . constellations && < TOC depth = { multiskill ? 1 : 0 } href = { `#const${ i > 0 ? `-${ i } ` : "" } ` } title = "Constellations" /> }
60- </ > ) ) }
60+ </ span > ) ) }
6161 </ div >
6262
6363 < div className = "grid grid-flow-col justify-start" >
0 commit comments