-
Notifications
You must be signed in to change notification settings - Fork 2
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
[ ddaynew365 ] 요청 페이지 레이아웃 구현 및 더미 데이터 연동 #82
Conversation
|
나도 태홍이 의견에 동감 // flex-wrap 사용해서 그런거기 때문에 바깥 width를 조절해주면 될것같음 |
2번째 질문 내용이 상세하지않아서 잘 이해가 가진 않는데 // |
display: flex; | ||
width: 100vw; | ||
height: 100vh; | ||
flex-direction: row; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style은 function 바깥으로 쓰는게 좋아보여요
지금 코드는 컴포넌트 생성될때마다 style 변수를 계속 생성해야해요
"webRoot": "${workspaceFolder}/src" | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
launch.json은 .gitIgnore에 올려주셔야 할거 같아요
const item = await getRequestInfo(); | ||
item?.data.forEach((data: RequestType) => { | ||
return data.from === myId ? setRequestForMe((prev) => [...prev, data.info]) : setRequestToMe((prev) => [...prev, data.info]); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 return 을 하지 않았을 때 에러가 떳나요?
forEach 내부에서 return 을 한 이유가 궁금합니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저거 아마() => {}해서 그런듯
|
내용
고민