diff --git a/src/button/Button.tsx b/src/button/Button.tsx index 5bea814f..cbaf715f 100644 --- a/src/button/Button.tsx +++ b/src/button/Button.tsx @@ -75,7 +75,7 @@ interface Props { onPressStart: (e: PressEvent) => void; [index: string]: unknown; } -export const Button = forwardRef( +export const Button = forwardRef( ( { variant = "default", @@ -91,7 +91,7 @@ export const Button = forwardRef( }, ref ) => { - const buttonRef = useObjectRef(ref); + const buttonRef = useObjectRef(ref); const { buttonProps } = useButton( { onPress, onPressStart, ...rest }, buttonRef