Skip to content

Commit

Permalink
Remove unused code in LinkButton component
Browse files Browse the repository at this point in the history
  • Loading branch information
vvu060 committed Jan 18, 2024
1 parent d01ef2b commit f8aa630
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/shared/LinkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,18 @@ const LinkButton = ({title, Icon, theme, onClick, href, width, disabled}: LinkBu
[Theme.Light]: {
classes:
"border-2 border-solid border-tailCall-border-dark-100 text-tailCall-dark-500 bg-transparent hover:text-tailCall-dark-500",
gridClasses: "",
},
[Theme.Dark]: {
classes:
"border-2 border-solid border-tailCall-border-dark-100 text-tailCall-light-100 bg-white hover:text-tailCall-light-100",
gridClasses: "",
},
[Theme.Gray]: {
classes:
"border-2 border-solid border-tailCall-light-100 text-tailCall-light-100 bg-transparent hover:text-tailCall-light-100",
gridClasses: "hidden",
},
}

return themes[theme] || {classes: "", styles: "", gridClasses: ""}
return themes[theme] || {classes: ""}
}

const renderBackgroundElements = () => {
Expand Down

0 comments on commit f8aa630

Please sign in to comment.