-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: Color type 대문자로 변경 * feat: 검색 페이지 변경 및 API 연결 * feat: 이미지 업로드 API 구현 * feat: 이미지 업로드 시 API 연결 * feat: 아카이브 전체 조회 및 검색 연결 * fix: useCustomInfiniteQuery 수정 * feat: 대기 화면 * feat: SearchPage 검색 -> SearchBar 검색 * feat: 드래그 앤 드롭 * feat: Loader * feat: 마이 페이지 쪽 아카이브 hook 구현 * feat: 아카이브 상세 페이지 연결 * feat: 나의 아카이브 조회 * feat: error handling with toast message * feat: 아카이브 생성 에러 메시지 받아서 출력 * feat: 아카이브 댓글 수정 * feat: 아카이브 순서 변경 * feat: 내 아카이브 하트 제거 * feat: 컬러 선택 표시 변경 * fix: 이미지 업로드 후, 전역 상태에 저장 로직 변경 * fix: 토스트메시지 출력 타이밍 변경 * fix: mac tag 중복 입력 문제 * feat: 댓글 optimistic update * feat: 아카이브 순서 변경 * feat: 좋아요 optimistic update 로직 수정 * feat: header 검색 바 리팩토링 * feat: 리스트 loading -> pending * fix: build error
- Loading branch information
Showing
68 changed files
with
1,300 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; | ||
import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; | ||
|
||
const QueryProvider = ({ children }: { children: React.ReactNode }) => { | ||
const queryClient = new QueryClient({ | ||
defaultOptions: { | ||
queries: { | ||
staleTime: 0, | ||
refetchOnWindowFocus: false, | ||
retry: 1, | ||
}, | ||
}, | ||
}); | ||
|
||
return <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>; | ||
return ( | ||
<QueryClientProvider client={queryClient}> | ||
{children} | ||
<ReactQueryDevtools initialIsOpen={false} /> | ||
</QueryClientProvider> | ||
); | ||
}; | ||
|
||
export default QueryProvider; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
76608ae
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.
⚡ Lighthouse report for http://localhost:3000/
Detailed Metrics