Skip to content

Commit 55cc1db

Browse files
committed
fix warning for any
1 parent fa64e37 commit 55cc1db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/common/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const Button = ({
205205
{iconAfter}
206206
</>
207207
);
208-
const StyledComponent: React.ElementType<any> = iconOnly ? StyledInlineButton : StyledButton;
208+
const StyledComponent: React.ElementType = iconOnly ? StyledInlineButton : StyledButton;
209209

210210
if (href) {
211211
return (

0 commit comments

Comments
 (0)