Skip to content

Commit 2577828

Browse files
committed
fix: add enable prop
1 parent 0b56216 commit 2577828

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/content-tags-drawer/data/apiHooks.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export const useContentData = (contentId, enabled) => (
118118
useQuery({
119119
queryKey: ['contentData', contentId],
120120
queryFn: enabled ? () => getContentData(contentId) : undefined,
121+
enabled,
121122
})
122123
);
123124

0 commit comments

Comments
 (0)