Skip to content

Commit 91656fd

Browse files
committed
fix: remove duplicate declarations
1 parent 93b262e commit 91656fd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/styled/examples/component.vue

-6
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ const H1 = styled.h1(
4646
(props) => ({ flex: props.flex }),
4747
{ display: "flex" }
4848
)
49-
const H1 = styled.h1((props) => {
50-
return {
51-
fontSize: props.fontSize,
52-
...props,
53-
}
54-
})
5549
5650
const Header1 = styled.h1`
5751
font-size: ${fontSize};

0 commit comments

Comments
 (0)