Skip to content

Commit

Permalink
[ui] fix minor typo and get the correct catalog name (unitycatalog/un…
Browse files Browse the repository at this point in the history
  • Loading branch information
xx-db authored and rtyler committed Sep 6, 2024
1 parent 25add70 commit 8e9fc9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/hooks/catalog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ export function useUpdateCatalog() {
}
return response.json();
},
onSuccess: () => {
onSuccess: (catalog) => {
queryClient.invalidateQueries({
queryKey: ['getCatalog', params.name],
queryKey: ['getCatalog', catalog.name],
});
},
});
Expand Down

0 comments on commit 8e9fc9f

Please sign in to comment.