Skip to content

Commit

Permalink
[!HOTFIX] build 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
imddoy committed Jan 24, 2025
1 parent 2ea671f commit ac226ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/apis/board/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface InfiniteQueryResponse {
pageParams: number[];
}

export const useBoardScrap = (handleModalOpen: () => void) => {
export const useBoardScrap = () => {
const userItem = localStorage.getItem('user');
const userData = userItem ? JSON.parse(userItem) : null;
const userId = userData?.accessToken || null;
Expand Down Expand Up @@ -39,7 +39,7 @@ export const useBoardScrap = (handleModalOpen: () => void) => {
if (context?.previousBoardList) {
queryClient.setQueryData(MYPAGE_QUERY_KEY.MY_FAVORITE_POST_LIST(userId), context.previousBoardList);
}
handleModalOpen();
// handleModalOpen();
},
onSettled: () => {
// 서버 동기화를 위해 캐시 무효화
Expand Down
1 change: 0 additions & 1 deletion src/assets/svgs/Group2085665069.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from 'react';
import type { SVGProps } from 'react';

const SvgGroup2085665069 = (props: SVGProps<SVGSVGElement>) => (
Expand Down

0 comments on commit ac226ac

Please sign in to comment.