-
Notifications
You must be signed in to change notification settings - Fork 5
✨ feat: 게시글 상세 댓글ui추가 #364
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
base: main
Are you sure you want to change the base?
Conversation
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.
수고하셨습니다!
export function timeAgo(dateString: string) { | ||
const now = new Date(); | ||
const past = new Date(dateString); | ||
const diff = Number(now) - Number(past); |
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.
P5) 파일명과 함수명이 달라요 !
import ShareButton from "@/components/common/Card/detail/ShareButton"; | ||
|
||
import { usePostCardActions } from "@/hooks/common/usePostCardActions"; | ||
|
||
import { POST_COMMENT_DATA } from "@/constants/dummyData"; |
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.
P5) 혹시 실제로 배포된 페이지에서 댓글이 사용될 때도 dummy data가 쓰이는걸까요?
🔨 테스크
게시글 상세에 댓글 ui추가
댓글 수정
댓글 삭제
📋 작업 내용
📷 스크린 샷