Skip to content

Commit

Permalink
fix: warning about variable already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Nov 1, 2021
1 parent 805f776 commit bb658f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gatsby-image-gallery/src/img-wrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import styled from 'styled-components'

interface ImgWrapper {
interface ImgWrapperProps {
margin: string
}

const ImgWrapper = styled.div<ImgWrapper>`
const ImgWrapper = styled.div<ImgWrapperProps>`
margin: ${(props) => props.margin};
`

Expand Down

0 comments on commit bb658f6

Please sign in to comment.