Skip to content

Commit

Permalink
remove unused button prop
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis committed Apr 18, 2024
1 parent f475021 commit c002251
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/account-kit/src/ui/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,9 @@ type ButtonClassNameOptions = {
size?: "sm" | "md";
variant?: "primary" | "secondary" | "tertiary";
pending?: boolean;
selected?: boolean;
};

const buttonClassName = ({
size = "md",
variant = "primary",
pending = false,
selected = false,
}: ButtonClassNameOptions = {}) =>
const buttonClassName = ({ size = "md", variant = "primary", pending = false }: ButtonClassNameOptions = {}) =>
twMerge(
// eslint-disable-next-line max-len
"group self-center leading-none outline-none border border-transparent ring-2 ring-transparent focus:ring-orange-500 transition aria-disabled:pointer-events-none aria-busy:pointer-events-none",
Expand Down Expand Up @@ -44,7 +38,6 @@ const buttonClassName = ({
md: twMerge("p-4 font-semibold text-[16px]"),
}[size],
pending && "cursor-wait pointer-events-none",
selected && "",
);

type Props = {
Expand Down

0 comments on commit c002251

Please sign in to comment.