Skip to content

Commit

Permalink
Update ui/desktop/src/components/settings/providers/providers/subcomp…
Browse files Browse the repository at this point in the history
…onents/CardActions.tsx


remove unnecessary log
  • Loading branch information
lily-de authored Feb 24, 2025
1 parent 2f94563 commit fb2bd60
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ export default function CardActions({ actions }: CardActionsProps) {
// Store the rendered button in a variable first
const ButtonElement = action.renderButton();

// Verify it's a valid React element
if (React.isValidElement(ButtonElement)) {
console.log('apparently a valid element');
return <React.Fragment key={action.id}>{ButtonElement}</React.Fragment>;
}

Expand Down

0 comments on commit fb2bd60

Please sign in to comment.