inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]

antd Collapse, lending page 정렬부분 에러 확인 부탁드려요 ㅠㅠ

312

HanGil Lee

작성한 질문수 1

0

선생님 좋은 강의 감사합니다

LandingPage의 기능적인 부분은 다 작동하지만 LandingPage 출력시 아래와 같이 출력되어 수정하고자 하는데 어려움이 있습니다...

구글링 해봐도 해결이 어려워 도움 부탁드립니다.

 

1) product item 출력부분이 아래와 같이 중간에 공백이 생겨서 나옵니다. 어떤 부분이 문제 인지 알 수 있을까요??

 

 

2) antd  Collapse를 적용햇는데 아래와 같이 적용되어 질문 드립니다.

antd 적용한 부분에 이렇게 뜨는데 이게 문제일까요? 

감사합니다

 

react nodejs 웹앱 redux mongodb

답변 2

1

John Ahn

안녕하세요 !!!  깃허브 주소 알려주시면 제가 직접해볼게요 ~~!! 
만약 올려주셨는데 제가 답변이 없다면 새로운 글로 다시 남겨주시면 감사하겠습니다 !!

0

HanGil Lee

감사합니다 선생님 

깃허브 주소 : https://github.com/dangils/Node-React-upload-cart

선생님 코드 보며 수정해보다가 뭘 잘못 넣었는지 에러가 뜨는데,,가능하시면 이것도 한번 확인 부탁드립니다 ㅠㅠ

 

 [1]   Line 13:42:  Expected to return a value in arrow function  array-callback-return

[1]

[1] ./src/components/views/DetailProductPage/DetailProductPage.js

[1]   Line 22:8:  React Hook useEffect has a missing dependency: 'productId'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

[1]

[1] ./src/components/views/LandingPage/LandingPage.js

[1]   Line 2:10:   'FaCode' is defined but never used

                      no-unused-vars

[1]   Line 4:32:   'Carousel' is defined but never used

                      no-unused-vars

[1]   Line 18:19:  'setLimit' is assigned a value but never used

                      no-unused-vars

[1]   Line 25:12:  'SearchTerm' is assigned a value but never used

                      no-unused-vars

[1]   Line 38:8:   React Hook useEffect has missing dependencies: 'Limit', 'Skip', and 'getProducts'. Either include them or remove 

the dependency array  react-hooks/exhaustive-deps

[1]

[1] ./src/components/utils/ImageSlider.js

[1]   Line 2:10:   'Icon' is defined but never used                                                                           no-unused-vars

[1]   Line 2:16:   'Col' is defined but never used                                                                            no-unused-vars

[1]   Line 2:21:   'Card' is defined but never used                                                                           no-unused-vars

[1]   Line 2:27:   'Row' is defined but never used                                                                            no-unused-vars

[1]   Line 11:25:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

[1]

[1] ./src/components/views/UploadProductPage/UploadProductPage.js

[1]   Line 2:10:  'Typography' is defined but never used  no-unused-vars

[1]   Line 2:22:  'Button' is defined but never used      no-unused-vars

[1]

[1] ./src/components/views/CartPage/CartPage.js

[1]   Line 30:8:   React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

[1]   Line 36:29:  Expected to return a value in arrow function                                                                 array-callback-return

[1]

[1] ./src/components/utils/FileUpload.js

[1]   Line 71:25:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

[1]

[1] ./src/components/views/LoginPage/LoginPage.js

[1]   Line 74:11:  'dirty' is assigned a value but never used        no-unused-vars

[1]   Line 79:11:  'handleReset' is assigned a value but never used  no-unused-vars

[1]

[1] ./src/components/views/RegisterPage/RegisterPage.js

[1]   Line 92:11:  'dirty' is assigned a value but never used        no-unused-vars

[1]   Line 97:11:  'handleReset' is assigned a value but never used  no-unused-vars

[1]

[1] Search for the keywords to learn more about each warning.

[1] To ignore, add // eslint-disable-next-line to the line before.

[1]

[0] key price

[1] Compiling...

[0] [nodemon] restarting due to changes...

[0] [nodemon] starting `node server/index.js`

[0] Server Listening on 5000

[1] Compiled with warnings.

[1]

[1] ./src/components/views/DetailProductPage/Sections/ProductImage.js

[1]   Line 13:42:  Expected to return a value in arrow function  array-callback-return

[1]

[1] ./src/components/views/DetailProductPage/DetailProductPage.js

[1]   Line 22:8:  React Hook useEffect has a missing dependency: 'productId'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

[1]

[1] ./src/components/views/LandingPage/LandingPage.js

[1]   Line 2:10:   'FaCode' is defined but never used

                      no-unused-vars

[1]   Line 4:32:   'Carousel' is defined but never used

                      no-unused-vars

[1]   Line 18:19:  'setLimit' is assigned a value but never used

                      no-unused-vars

[1]   Line 25:12:  'SearchTerm' is assigned a value but never used

                      no-unused-vars

[1]   Line 38:8:   React Hook useEffect has missing dependencies: 'Limit', 'Skip', and 'getProducts'. Either include them or remove 

the dependency array  react-hooks/exhaustive-deps

[1]

[1] ./src/components/utils/ImageSlider.js

[1]   Line 2:10:   'Icon' is defined but never used                                                                           no-unused-vars

[1]   Line 2:16:   'Col' is defined but never used                                                                            no-unused-vars

[1]   Line 2:21:   'Card' is defined but never used                                                                           no-unused-vars

[1]   Line 2:27:   'Row' is defined but never used                                                                            no-unused-vars

[1]   Line 11:25:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

[1]

[1] ./src/components/views/UploadProductPage/UploadProductPage.js

[1]   Line 2:10:  'Typography' is defined but never used  no-unused-vars

[1]   Line 2:22:  'Button' is defined but never used      no-unused-vars

[1]

[1] ./src/components/views/CartPage/CartPage.js

[1]   Line 30:8:   React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

[1]   Line 36:29:  Expected to return a value in arrow function                                                                 array-callback-return

[1]

[1] ./src/components/utils/FileUpload.js

[1]   Line 71:25:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

[1]

[1] ./src/components/views/LoginPage/LoginPage.js

[1]   Line 74:11:  'dirty' is assigned a value but never used        no-unused-vars

[1]   Line 79:11:  'handleReset' is assigned a value but never used  no-unused-vars

[1]

[1] ./src/components/views/RegisterPage/RegisterPage.js

[1]   Line 92:11:  'dirty' is assigned a value but never used        no-unused-vars

[1]   Line 97:11:  'handleReset' is assigned a value but never used  no-unused-vars

[1]

[1] Search for the keywords to learn more about each warning.

[1] To ignore, add // eslint-disable-next-line to the line before.

[1]

[0] MongoDB Connected...

강의 내용은 훌륭하나, 환경 설정 오류 때문에 진도를 나갈 수 없습니다. 20년 버전 강의.

0

74

1

강의자료는 어디서 볼 수있나요??

0

82

1

이 쇼핑몰 만들기 강의는 관리자페이지 만드는건 없나요

0

136

2

웹에서 실시간 코드반영이 안돼요

0

137

1

app.use질문

0

74

1

강사님께 어떻게 직접질문할수있어요??

0

84

1

const함수같은거 기초강의는 어디있나요

0

97

2

리덕스 참조챕터가 어딨어요? 미리듣고오라는데요

0

88

2

강의가완전 오래되서 다 틀리네 app.jsx도 tailwind css 다틀림 무책임함

0

75

1

개발자도구에 redux란이 없어요

0

95

1

npx tailwindcss init -p 에서 계속 에러나요

0

99

1

쇼핑몰기능중 찜하기 기능은 어떻게 구현하나요

0

151

2

강의하다 줌으로 설명가능한지좀 정확히 알려주세요. 이 선생님 정책이 어떻게 되는데요. 직접 연락할 메일이라도 알려주세요

0

48

1

도표 강의 자료 열람 불가능

0

116

1

tailwindcss를 vite에서 이용하는 방식이 바뀐것 같습니다.

0

1148

2

eslint 설정 후 오류가 납니다.

0

230

1

오버로드 오류

0

159

1

VSCode에서 save를 할 때, landingpage의 useEffect가 실행되는 문제에 대하여

0

179

1

dispatch(logoutUser()) 실행시 dispatch(authuser())도 함께 실행되는 문제

0

237

2

logout할 때, server로 요청을 보내서 authUser middleware를 통과하도록 하는 이유?

0

200

1

webkit-text-size-adjust 오류

0

323

1

does not provide an export named 'userReducer'

0

223

2

빌드 배포

0

143

1

삭제 예정 강의는 언제 삭제 되나요? 저것때문에 수강완료를 못하면 회사에서 비용을 청구한다고 합니다~

0

232

2