-
Notifications
You must be signed in to change notification settings - Fork 1
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
0083 patch -> put 변경, 이미지 png 선택 가능, grass 구간 수정 #90
Conversation
soyekwon
commented
Feb 22, 2022
•
edited
Loading
edited
- patch -> put 변경
- 이미지 png 선택 가능
- grass 구간 today 기준으로 수정
✔️ Deploy Preview for todaytheylearned ready! 🔨 Explore the source changes: a319a64 🔍 Inspect the deploy log: https://app.netlify.com/sites/todaytheylearned/deploys/62151a088f01e70007a2d0b8 😎 Browse the preview: https://deploy-preview-90--todaytheylearned.netlify.app/ |
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.
코드 잘 봤습니다 👍
@@ -49,7 +49,6 @@ const ProfileEdit = () => { | |||
const handleSubmit = useCallback(() => { | |||
formData.append('username', info.username); | |||
formData.append('tags', JSON.stringify(taglist)); |
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.
아래 67번째 tagSubmit 함수에서 formData에 tags append하는 코드 없어도 되지 않나욤??
그리고 tagSubmit 함수에서 빈 문자열 들어갔을 땐 태그 추가 안되도록 막아줘야 할 것 같아요
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.
나머지는 #84 에 리뷰와 동일하게 진행해주세요~
@@ -1,16 +1,35 @@ | |||
import React, { useState } from 'react'; | |||
import { useSelector } from 'react-redux'; | |||
/* eslint-disable no-unused-vars */ |
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.
p1: 제거해주세용
newDate.setDate(newDate.getDate() + numDays); | ||
return newDate; | ||
}; | ||
|
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.
p3: moment라는 javascript 날짜/시간 관련 라이브러리가 있습니당
그거로 하면 굳이 함수 만들지 않고도 날짜를 쉽게 뺄 수 있습니다
src/pages/Article/Article.jsx
Outdated
<strong style={{ marginRight: '0.5rem' }}>{singleArticle?.user.username}</strong> | ||
<button type="button" style={{ marginRight: '0.5rem' }}> | ||
{singleArticle?.user.username} | ||
</button> |
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.
p1: 여기 스타일이 깨져있어요 ㅠㅠ 원래대로 돌려주십쇼.......... 그냥 버튼 연결은 유저페이지 머지되면 달테니 아예 원복 plz
merge... |
@soyekwon 앞으로는 리뷰 수정 후 다시 review를 요청하도록 하십시오... |