Skip to content

Commit

Permalink
chore: remove extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph committed Jul 9, 2024
1 parent d31db66 commit 886bec9
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions packages/react/code-connect/Notification/Notification.figma.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,18 @@ figma.connect(
inline,
button,
}) => (
<>
<ActionableNotification
inline={inline}
kind={kind}
title={title}
subtitle={subtitle}
hideCloseButton={hideCloseButton}
lowContrast={lowContrast}
actionButtonLabel={button.actionButtonLabel}
onActionButtonClick={() => myFunction()}
onClose={() => myFunction()}
onCloseButtonClick={() => myFunction()}
/>
</>
<ActionableNotification
inline={inline}
kind={kind}
title={title}
subtitle={subtitle}
hideCloseButton={hideCloseButton}
lowContrast={lowContrast}
actionButtonLabel={button.actionButtonLabel}
onActionButtonClick={() => myFunction()}
onClose={() => myFunction()}
onCloseButtonClick={() => myFunction()}
/>
),
}
);
Expand Down

0 comments on commit 886bec9

Please sign in to comment.