Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@joohaem
Copy link
Member

@joohaem joohaem commented Mar 23, 2023

  • 브랜치명, 브랜치 알맞게 설정
  • Reviewer, Assignees, Label, Milestone, Issue(PR 작성 후에) 붙이기
  • PR이 승인된 경우 해당 브랜치는 삭제하기

📌 내용

@joohaem joohaem requested a review from NYeonK March 23, 2023 05:42
@joohaem joohaem self-assigned this Mar 23, 2023
@joohaem joohaem linked an issue Mar 23, 2023 that may be closed by this pull request
6 tasks
Copy link
Contributor

@NYeonK NYeonK left a comment

Choose a reason for hiding this comment

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

빠른 반영 멋있오여👍👍 고생하셨습니다~!~!!


export function useCategoryLists() {
const { data, error } = useSWR<PiickleSWRResponse<CategoryList[]>>(PATH.CATEGORIES_, realReq.GET_SWR);
const randomCategoryLists = useMemo(() => data?.data.data.sort(() => Math.random() - 0.5), [data]);
Copy link
Contributor

Choose a reason for hiding this comment

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

🌟useMemo 최고🌟

@joohaem joohaem merged commit 6698fdf into release/1.3 Mar 23, 2023
@joohaem joohaem deleted the feat/#233-query branch March 23, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ Common ] QA 반영

3 participants