Skip to content

Commit

Permalink
releasef chips-ranks-rating style
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammers21 committed Feb 26, 2024
1 parent 5bab960 commit fe23857
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/src/containers/Profile/ObsWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ export const ObsWidget = () => {
</div>
);
});
} else if (style === "chips-ranks-rating") {
contentList = specAndMaxShuffle?.map((alt) => {
return (
<div>
<SpecChip
fullSpec={alt.full_spec}
bracket={alt.bracket}
label={`#` + alt.rank + ` - ` + alt.rating}
/>
</div>
);
});
}

return (
Expand Down

0 comments on commit fe23857

Please sign in to comment.