Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielpereirapinheiro committed Jan 3, 2025
1 parent 58b1541 commit cec63aa
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/gestalt/src/BannerSlim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ type PrimaryActionType =
role?: 'button';
};



function PrimaryAction({ accessibilityLabel, disabled, label, isInVRExperiment, ...props }: PrimaryActionType) {
function PrimaryAction({
accessibilityLabel,
disabled,
label,
isInVRExperiment,
...props
}: PrimaryActionType) {
return props.role === 'link' ? (
<ButtonLink
accessibilityLabel={accessibilityLabel}
Expand Down Expand Up @@ -147,7 +151,6 @@ export default function BannerSlim({
primaryAction,
type = 'neutral',
}: Props) {

const isInVRExperiment = useInExperiment({
webExperimentName: 'web_gestalt_visualRefresh',
mwebExperimentName: 'web_gestalt_visualRefresh',
Expand Down

0 comments on commit cec63aa

Please sign in to comment.