-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FE] feat: 홈에서 카테고리 눌렀을 때 context에 저장하는 방식으로 변경 #732
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.
리뷰 완 잘했음 😇
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.
타미 진짜 큰 일을 해냈네요!
고마워요 펀잇을 위해 헌신해줘서
파이팅!!
return ( | ||
<CategoryItemContainer variant="transparent"> | ||
<Button type="button" variant="transparent" customHeight="auto" onClick={() => handleCategoryItemClick(categoryId)}> |
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.
👍
@@ -41,10 +30,10 @@ const CategoryFoodTab = () => { | |||
|
|||
return ( | |||
<CategoryMenuContainer> | |||
{categories.map((menu) => { | |||
const isSelected = menu.id === currentCategoryId; | |||
{categories.map(({ id, name }) => { |
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.
👍
@@ -9,29 +7,20 @@ import { useCategoryActionContext, useCategoryValueContext } from '@/hooks/conte | |||
import { useCategoryFoodQuery } from '@/hooks/queries/product/useCategoryQuery'; | |||
import { getTargetCategoryName } from '@/utils/category'; | |||
|
|||
const category = CATEGORY_TYPE.FOOD; | |||
const categoryType = CATEGORY_TYPE.FOOD; |
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.
👍
Issue
✨ 구현한 기능
📢 논의하고 싶은 내용
x
🎸 기타
x
⏰ 일정