Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
(components/teamBadges): Remove bootstrap badge
Browse files Browse the repository at this point in the history
  • Loading branch information
jcxldn committed Jun 24, 2023
1 parent 82fd41e commit f6f3f4c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/team/teamBadges.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import * as React from "react";

import BadgeCustomColours from "../bootstrap/BadgeCustomColours";

import TeamTag from "../../types/teamTag";
import { Chip, Theme } from "@mui/material";

Expand All @@ -18,11 +16,6 @@ const capitalizeWords = (words: string) => {
const ConstructBadge = (tag: TeamTag): React.JSX.Element => {
return (
<span style={{ paddingRight: 16 }}>
{/** Use bgCol and text to create a key.*/}

<BadgeCustomColours key={`${tag.colour}-${tag.name}`} bg={tag.colour}>
{capitalizeWords(tag.name)}
</BadgeCustomColours>
<Chip label={capitalizeWords(tag.name)} color={tag.paletteName} size="small" sx={{ fontWeight: "bold" }} />
</span>
);
Expand Down

0 comments on commit f6f3f4c

Please sign in to comment.