Skip to content

Conversation

@llmojoll
Copy link
Collaborator

๐Ÿ“ฆ Pull Request

๐Ÿ“ ์š”์•ฝ(Summary)

  • POST /wine API์™€ ์—ฐ๊ฒฐํ•ด ๋“ฑ๋ก ํ…Œ์ŠคํŠธ๊นŒ์ง€ ์™„๋ฃŒํ–ˆ์Šต๋‹ˆ๋‹ค.
  • React Hook Form์„ ์ด์šฉํ•ด ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ ๋ฐ ์ œ์ถœ ์ฒ˜๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ’ฌ ๊ณต์œ ์‚ฌํ•ญ to ๋ฆฌ๋ทฐ์–ด

  • ์•„์ง ์ปดํฌ๋„ŒํŠธ ๋ถ„๋ฆฌ๋ฅผ ๋ชปํ•ด ์ฝ”๋“œ๊ฐ€ ๋‹ค์†Œ ๋ณต์žกํ•œ ์ƒํƒœ์ž…๋‹ˆ๋‹ค. ์ถ”ํ›„ ๋ฆฌํŒฉํ† ๋ง ์˜ˆ์ •์ž…๋‹ˆ๋‹ค.

๐Ÿ—‚๏ธ ๊ด€๋ จ ์ด์Šˆ

  • ํ˜„์žฌ onBlur๋กœ input์—์„œ ๋งˆ์šฐ์Šค๊ฐ€ ๋‹ค๋ฅธ๊ณณ์„ ํด๋ฆญํ•˜๋ฉด ์—๋Ÿฌ๋ฉ”์‹œ์ง€๊ฐ€ ๋‚˜์˜ค๋Š”๋ฐ์š” ์ด ๋•Œ ๋ชจ๋‹ฌ ์™ธ๋ถ€ ํด๋ฆญ์œผ๋กœ ์ฐฝ์ด ๋‹ซํžˆ๋ฉด์„œ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๊ฐ€ ๊นœ๋ฐ•์ด๋Š” ํ˜„์ƒ์ด ์žˆ์–ด UX๊ฐ€ ๋‹ค์†Œ ์–ด์ƒ‰ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท

image image

โœ… ์ฒดํฌ๋ฆฌ์ŠคํŠธ

  • ๋นŒ๋“œ ๋ฐ ํ…Œ์ŠคํŠธ ํ†ต๊ณผ
  • ESLint/Prettier ๊ฒ€์‚ฌ ํ†ต๊ณผ

llmojoll added 18 commits July 22, 2025 16:29
@vercel
Copy link

vercel bot commented Jul 27, 2025

@llmojoll is attempting to deploy a commit to the 626-ju's projects Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines 78 to 80
setPreviewImage(null);
fileInputRef.current && (fileInputRef.current.value = '');
setCategory('');
Copy link
Collaborator

Choose a reason for hiding this comment

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

์ด ๋ถ€๋ถ„ ์ฝ”๋“œ๊ฐ€ ์ž์ฃผ ๋ฐ˜๋ณต๋˜๋Š” ๊ฒƒ ๊ฐ™์•„์„œ ๋ฉ”์†Œ๋“œ๋กœ ๋นผ์„œ ์žฌ์‚ฌ์šฉํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

@summerDev96
Copy link
Collaborator

์—๋Ÿฌ ๋ฉ”์‹œ์ง€๊ฐ€ ๊นœ๋ฐ•์ด๋Š” ํ˜„์ƒ์ด ์–ด๋–ป๊ฒŒ ๋ฐœ์ƒํ•˜๋Š”์ง€ ์ดํ•ด๊ฐ€ ์ž˜ ์•ˆ๋ฉ๋‹ˆ๋‹ค! ๋ชจ๋‹ฌ์—์„œ ์ˆ˜์ •์ด ํ•„์š”ํ•œ ๋ถ€๋ถ„์ผ๊นŒ์š”?

setShowRegisterModal(false);
} catch (error) {
console.error('์™€์ธ๋“ฑ๋ก์‹คํŒจ', error);
alert('์™€์ธ๋“ฑใ„น๊ณก์‹คํŒจ');
Copy link
Collaborator

Choose a reason for hiding this comment

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

์˜คํƒ€ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค!

<div className='flex gap-2'>
<Button
onClick={() => {
reset({
Copy link
Collaborator

Choose a reason for hiding this comment

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

๋ฆฌํŒฉํ† ๋ง ํ•˜์‹ ๋‹ค๊ณ  ํ•˜์…จ๋Š”๋ฐ ํ•˜์‹ค ๋•Œ ์ด๋Ÿฐ ์ค‘๋ณต๋˜๋Š” reset๋กœ์ง ํ•จ์ˆ˜๋กœ ๋ถ„๋ฆฌํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

@llmojoll llmojoll merged commit 60c6fa6 into codeit-part3-7:dev Jul 28, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants