Skip to content

Conversation

@Hyun9811
Copy link
Collaborator

#️⃣연관된 이슈

#118

📝작업 내용

알림 페이지에서 엔빵 수락/거절 가능하도록 기능 구현을 했습니다

스크린샷 (선택)

image

💬리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

@Hyun9811 Hyun9811 requested a review from hm1n January 11, 2026 05:22
@Hyun9811 Hyun9811 self-assigned this Jan 11, 2026
@Hyun9811 Hyun9811 added the ✨ Feature 기능 개발 label Jan 11, 2026
@Hyun9811 Hyun9811 linked an issue Jan 11, 2026 that may be closed by this pull request
3 tasks
@vercel
Copy link

vercel bot commented Jan 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nbread Ready Ready Preview, Comment Jan 11, 2026 5:22am

// -------------- 알림 아이템 클릭 시 알림 타입에 따라 처리하는 함수 ------------- //
function notificationOnclickHandler(type: string, data: Json | null) {
const parsedData = data as Record<string, unknown>
function getRelativeTime(utcDateString: string): string {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/utils/getRelativeTime 함수를 재사용하면 좋을 것 같습니다!

.in('invited_user_id', friendIds)
.eq('nbread_id', nbreadId)
if (error) {
console.error('error~~', error)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

친구 목록 페이지로 이동 시 에러가 발생합니다! 확인 부탁드립니다.

스크린샷 2026-01-11 오후 2 56 01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature-40/andbreadInvite] 엔빵 초대 기능

3 participants