Update packages/ui/components/button/Button.tsx

So we get a default value
pullrequests/Siddharth-2382/sid/event-type-single
sean-brydon 2023-10-12 13:36:35 +01:00 committed by GitHub
parent d15d534acd
commit a72629a2e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
{element}
</Link>
) : (
<Wrapper data-testid="wrapper" tooltip={props.tooltip} tooltipSide={props.tooltipSide}>
<Wrapper data-testid="wrapper" tooltip={props.tooltip} tooltipSide={tooltipSide}>
{element}
</Wrapper>
);