Skip to content

Commit

Permalink
fix: implement suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRodrigues10 committed Nov 24, 2023
1 parent a179242 commit caa1ade
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default function Button({
}

function ButtonTitle({ title, bold }: ButtonTitleProps) {
return (
<p className={bold ? "font-ibold font-ibold" : "font-iregular"}>{title}</p>
);
const className = bold ? "font-ibold" : "font-iregular";
return <div className={className}>{title}</div>;
}

0 comments on commit caa1ade

Please sign in to comment.