Skip to content

Commit

Permalink
feat: update navbar to support custom size and colors
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt committed Dec 6, 2024
1 parent a30444e commit 5476cea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/primitives/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export const Navbar = ({
const logoClasses = `${size} text-${color}`;

if (!img) {
return (
<img src={defaultLogo} alt="Default Logo" className={logoClasses} />
);
return <img src={defaultLogo} alt="Default Logo" className={logoClasses} />;
}

if (typeof img === "string") {
Expand Down

0 comments on commit 5476cea

Please sign in to comment.