We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a22a6 commit 3ac4492Copy full SHA for 3ac4492
features/ProjectStats/useStorageSubscriptions.ts
@@ -12,7 +12,7 @@ export const useStorageSubscriptions = () => {
12
const [unit] = useSelectedUnit();
13
14
const { data, isLoading, error } = useGetProductsForUnit(unit?.id ?? "", {
15
- query: { enabled: !!unit?.id },
+ query: { enabled: !!unit?.caller_is_member },
16
});
17
18
const storageSubscriptions = useMemo(() => {
0 commit comments