Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VerticalSpace component Warning: Prop className did not match. #130

Open
Junyong34 opened this issue Aug 31, 2022 · 1 comment
Open

VerticalSpace component Warning: Prop className did not match. #130

Junyong34 opened this issue Aug 31, 2022 · 1 comment
Assignees
Labels
BUG Something isn't working

Comments

@Junyong34
Copy link

Junyong34 commented Aug 31, 2022

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 통일하는게 좋지 않나요?

수정요청 드립니다.

@devHudi devHudi self-assigned this Sep 3, 2022
@devHudi devHudi added the BUG Something isn't working label Sep 3, 2022
@devHudi
Copy link
Owner

devHudi commented Sep 3, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants