Skip to content

Commit

Permalink
fix(shared-video-splash): move styled-component outside of render
Browse files Browse the repository at this point in the history
  • Loading branch information
jraff authored and canrozanes committed Jan 29, 2021
1 parent 7e200d6 commit 2abbe00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ const LittleWatchTextContainer = styled.span({
...media.from('md').css({ display: 'none' }),
})

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

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

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

0 comments on commit 2abbe00

Please sign in to comment.