Skip to content

Commit fa49c77

Browse files
authored
feat: move extendable style to the wrapper
1 parent a1108ee commit fa49c77

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/HubButton.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@ const StyledButton = styled.a`
3939

4040
const HubButton = ({ style }: { style?: string }) => {
4141
return (
42-
<StyledWrapper>
43-
<StyledButton
44-
href="https://traefik.io/upgrade-traefik"
45-
target="_blank"
46-
style={style ? parseInlineStyle(style) : {}}
47-
>
42+
<StyledWrapper style={style ? parseInlineStyle(style) : {}}>
43+
<StyledButton href="https://traefik.io/upgrade-traefik" target="_blank">
4844
Upgrade
4945
</StyledButton>
5046
</StyledWrapper>

0 commit comments

Comments
 (0)