Skip to content

Conversation

@Yun-Jinwoo
Copy link
Collaborator

๐Ÿ“Œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ ๊ฐœ์š”

์•Œ๋ฆผ ์ฝ์Œ ๊ด€๋ จ ๊ธฐ๋Šฅ ์ˆ˜์ •
div ํƒœ๊ทธ link๋กœ ์ˆ˜์ •

๐Ÿ“ ์ƒ์„ธ ๋‚ด์šฉ

  • ์•Œ๋ฆผ ๊ธฐ๋Šฅ์ด ์ •์ƒ๋™์ž‘ํ•˜์ง€ ์•Š๋Š” ๋ฌธ์ œ๊ฐ€ ์žˆ์–ด ๊ด€๋ จ ๋กœ์ง ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค.
  • div๋ฅผ link๋กœ ์ˆ˜์ •ํ•œ๋’ค ์•Œ๋ฆผ ์ฝ์Œ ์ฒ˜๋ฆฌ๋Š” onclick์— ๋‚จ๊ฒจ๋’€์Šต๋‹ˆ๋‹ค.

๐Ÿ”— ๊ด€๋ จ ์ด์Šˆ

๐Ÿ–ผ๏ธ ์Šคํฌ๋ฆฐ์ƒท(์„ ํƒ์‚ฌํ•ญ)

๐Ÿ’ก ์ฐธ๊ณ  ์‚ฌํ•ญ

@Yun-Jinwoo Yun-Jinwoo self-assigned this Jun 22, 2025
@Yun-Jinwoo Yun-Jinwoo added โ™ป๏ธ ๋ฆฌํŒฉํ† ๋ง ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง ๐Ÿ› ๋ฒ„๊ทธ ์ˆ˜์ • ์ฝ”๋“œ๋ฅผ ์ˆ˜์ •ํ•˜๊ฑฐ๋‚˜ ์˜ˆ์ƒ์น˜ ๋ชปํ•œ ๋ฒ„๊ทธ๋ฅผ ๊ณ ์ณค์–ด์š”! labels Jun 22, 2025
Comment on lines 5 to 15
interface NotificationCardProps {
alertId: string; // ์•Œ๋ฆผ id
shopId: string; // ๊ฐ€๊ฒŒ id
noticeId: string; // ๊ณต๊ณ  id
status: 'accepted' | 'rejected'; // ๊ณต๊ณ  ์ง€์› ์ƒํƒœ
restaurantName: string; // ์Œ์‹์  ์ด๋ฆ„
startsAt: string; // ๊ณต๊ณ  ์‹œ์ž‘ ์‹œ๊ฐ„ (ISO 8601 ๋ฌธ์ž์—ด)
workhour: number; // ๊ทผ๋ฌด ์‹œ๊ฐ„ (์‹œ๊ฐ„ ๋‹จ์œ„)
createdAt: string; // ์•Œ๋ฆผ ์ƒ์„ฑ ์‹œ๊ฐ„ (ISO 8601 ๋ฌธ์ž์—ด)
onMarkAsRead: (alertId: string) => void;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

๐Ÿ’ฌ ๋‹ค ํ’€์–ด์„œ ๋ฐ›๊ธฐ๋ณด๋‹จ AlertItem์˜ ๊ฐ์ฒด ํ˜•ํƒœ..? ๋กœ prop์„ ๋ฐ›์œผ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค

Comment on lines +85 to +88
if (!userId) {
console.error('์ฝ์Œ ์ฒ˜๋ฆฌ ์‹คํŒจ: userId๋ฅผ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.');
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

๐Ÿ’ฌ ๋กœ๊ทธ์ธ์ด ํ•„์š”ํ•˜๋‹ค๊ณ  ๋‚จ๊ฒจ๋„ ๊ดœ์ฐฎ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

์—๊ณ  ์ˆ˜์ •ํ–ˆ์–ด์•ผ๋๋Š”๋ฐ ๋จธ์ง€ํ•ด๋ฒ„๋ ธ๋„ค์š” ๋‚˜์ค‘์— ์ˆ˜์ •์‚ฌํ•ญ ์žˆ์„๋•Œ ํ•จ๊ป˜ ์ˆ˜์ •ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค

Copy link
Collaborator

@minimo-9 minimo-9 left a comment

Choose a reason for hiding this comment

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

๊ตฟ์ž…๋‹ˆ๋‹ค!

@Yun-Jinwoo Yun-Jinwoo merged commit 540e1c5 into develop Jun 22, 2025
2 checks passed
@Yun-Jinwoo Yun-Jinwoo deleted the fix/147-modal-card branch June 22, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

โ™ป๏ธ ๋ฆฌํŒฉํ† ๋ง ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง ๐Ÿ› ๋ฒ„๊ทธ ์ˆ˜์ • ์ฝ”๋“œ๋ฅผ ์ˆ˜์ •ํ•˜๊ฑฐ๋‚˜ ์˜ˆ์ƒ์น˜ ๋ชปํ•œ ๋ฒ„๊ทธ๋ฅผ ๊ณ ์ณค์–ด์š”!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] ์•Œ๋ฆผ ๋ชจ๋‹ฌ ํด๋ฆญ ๊ด€๋ จ ๋กœ์ง ์ˆ˜์ •

4 participants