Skip to content

Commit

Permalink
Leftover after merge conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsreberski committed Jul 25, 2024
1 parent c4cb36a commit c9ce708
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type ActionButtonProps< A = () => void > = ProductCardProps & {
onInstall?: A;
onLearnMore?: A;
className?: string;
isOwned?: boolean;
};

const ActionButton: FC< ActionButtonProps > = ( {
Expand Down Expand Up @@ -52,7 +53,7 @@ const ActionButton: FC< ActionButtonProps > = ( {
const isBusy = isFetching || isInstallingStandalone;
const hasAdditionalActions = additionalActions?.length > 0;

const buttonState = useMemo( () => {
const buttonState = useMemo< Partial< SecondaryButtonProps > >( () => {
return {
variant: ! isBusy ? 'primary' : undefined,
disabled: isBusy,
Expand Down

0 comments on commit c9ce708

Please sign in to comment.