devHudi / gatsby-starter-hoodie

🚀 gatsby-starter-hoodie is a gatsby starter developed for developers to build tech blogs.

Home Page:https://gatsby-starter-hoodie.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VerticalSpace component Warning: Prop `className` did not match.

Junyong34 opened this issue · comments

image

page index 렌더링시 className이 변경되면서 워닝이 발생합니다.

before

import styled from "styled-components"

export default styled.div`
  height: ${props => props.size}px;
`

after

import styled from "styled-components"

export const VerticalSpace = styled.div`
  height: ${props => props.size}px;
`

VerticleSpace
VerticalSpace
2개 컴포넌트가 있는데 VerticalSpace 통일하는게 좋지 않나요?

수정요청 드립니다.

안녕하세요, @Junyong34 님! 이슈 남겨주셔서 감사드립니다 🙂

VerticleSpace 는 오타인것으로 확인되네요 🥲 수정하도록 하겠습니다.
또한 캡쳐해주신 className 이슈도 곧 해결하도록 하겠습니다. 감사합니다!