diff --git a/packages/frontend/src/components/shared/Button/Button.tsx b/packages/frontend/src/components/shared/Button/Button.tsx
index af845e0c..968cca72 100644
--- a/packages/frontend/src/components/shared/Button/Button.tsx
+++ b/packages/frontend/src/components/shared/Button/Button.tsx
@@ -98,19 +98,29 @@ const Button = forwardRef<
href,
...baseLinkProps,
};
- return {_children};
+ return (
+ // @ts-expect-error - ref
+
+ {_children}
+
+ );
}
// Internal link
return (
-
+ // @ts-expect-error - ref
+
{_children}
);
} else {
const { ...buttonProps } = _props;
- // @ts-expect-error - as prop is not a valid prop for button elements
- return ;
+ return (
+ // @ts-expect-error - as prop is not a valid prop for button elements
+
+ );
}
},
[],
@@ -161,8 +171,6 @@ const Button = forwardRef<
return (
{cloneIcon(leftIcon, { ...iconSize })}