Skip to content

Commit

Permalink
fix: white belt style (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
Afonso-santos authored Oct 11, 2023
1 parent a653742 commit 4dc9977
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/app/components/Belt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ import { BELT_PT } from "~/lib/belt";
import styles from "./style.module.css";

export default function Belt({ belt }) {
const isWhite = belt === "white";

return (
<Tag className={!belt ? styles.nobelt : styles.capitalize} color={belt}>
<Tag
className={!belt ? styles.nobelt : styles.capitalize}
color={belt}
style={isWhite ? { border: "1px solid grey", color: "grey" } : {}}
>
{!belt ? BELT_PT[""] : BELT_PT[belt]}
</Tag>
);
Expand Down

0 comments on commit 4dc9977

Please sign in to comment.