We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16cf9f7 commit 646316aCopy full SHA for 646316a
2 files changed
src/apis/community/getPostDetail.ts
@@ -12,6 +12,7 @@ const useGetPostDetail = (postId: number) => {
12
queryKey: [CommunityQueryKeys.posts, postId],
13
queryFn: () => communityApi.getPostDetail(postId),
14
enabled: !!postId,
15
+ meta: { showGlobalSpinner: false },
16
});
17
};
18
src/components/layout/GlobalLayout/ui/ClientModal/index.tsx
@@ -23,7 +23,9 @@ const ClientModal = () => {
23
checkAndOpen,
24
} = useSurveyModalStore();
25
26
- const isFetching = useIsFetching();
+ const isFetching = useIsFetching({
27
+ predicate: (query) => query.meta?.showGlobalSpinner !== false,
28
+ });
29
30
// 페이지 로드 시 만족도 조사 모달 표시 여부 확인
31
useEffect(() => {
0 commit comments