Skip to content

Commit 2abbe00

Browse files
jraffcanrozanes
authored andcommitted
fix(shared-video-splash): move styled-component outside of render
1 parent 7e200d6 commit 2abbe00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared/components/VideoSplash/BigVideoButton/BigVideoButton.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ const LittleWatchTextContainer = styled.span({
7979
...media.from('md').css({ display: 'none' }),
8080
})
8181

82-
const BigVideoButton = ({ icon, label, videoLength, ...rest }) => {
83-
const IconAdjust = styled.span({ paddingTop: 2 })
82+
const IconAdjust = styled.span({ paddingTop: 2 })
8483

84+
const BigVideoButton = ({ icon, label, videoLength, ...rest }) => {
8585
const timestamp = getTimestamp(videoLength)
8686

8787
// TODO: After Box moves to Styled Components, use one Box with the between prop for spacing

0 commit comments

Comments
 (0)