Skip to content

Commit

Permalink
fix(storage) cache key for detail page should differ from list view #325
Browse files Browse the repository at this point in the history
  • Loading branch information
edlerd committed May 8, 2023
1 parent e9825c6 commit 1adf9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/storages/StorageDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const StorageDetail: FC = () => {
error,
isLoading,
} = useQuery({
queryKey: [queryKeys.storage, name],
queryKey: [queryKeys.storage, project, name],
queryFn: () => fetchStorage(name, project),
});

Expand Down

0 comments on commit 1adf9ad

Please sign in to comment.