Skip to content

Commit

Permalink
fixes kafbat#246
Browse files Browse the repository at this point in the history
  • Loading branch information
masonwoodford committed May 6, 2024
1 parent 359069b commit 0578c46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/lib/hooks/api/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
UpdateSchemaCompatibilityLevelRequest,
} from 'generated-sources';
import { schemasApiClient } from 'lib/api';
import { QUERY_REFETCH_OFF_OPTIONS } from 'lib/constants';
import { ClusterName } from 'lib/interfaces/cluster';

export function useGetLatestSchema(param: GetLatestSchemaRequest) {
Expand All @@ -28,6 +29,7 @@ export function useGetLatestSchema(param: GetLatestSchemaRequest) {
param.subject,
],
queryFn: () => schemasApiClient.getLatestSchema(param),
...QUERY_REFETCH_OFF_OPTIONS,
});
}

Expand Down

0 comments on commit 0578c46

Please sign in to comment.