mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): remove weird rtkq hook wrapper
I do not understand why I did that initially but it doesn't work with TS.
This commit is contained in:
parent
ff68901e89
commit
56237328f1
@ -549,6 +549,7 @@ export const imagesApi = api.injectEndpoints({
|
|||||||
export const {
|
export const {
|
||||||
useGetIntermediatesCountQuery,
|
useGetIntermediatesCountQuery,
|
||||||
useListImagesQuery,
|
useListImagesQuery,
|
||||||
|
useGetImageDTOQuery,
|
||||||
useGetImageMetadataQuery,
|
useGetImageMetadataQuery,
|
||||||
useGetImageWorkflowQuery,
|
useGetImageWorkflowQuery,
|
||||||
useLazyGetImageWorkflowQuery,
|
useLazyGetImageWorkflowQuery,
|
||||||
@ -566,10 +567,6 @@ export const {
|
|||||||
useBulkDownloadImagesMutation,
|
useBulkDownloadImagesMutation,
|
||||||
} = imagesApi;
|
} = imagesApi;
|
||||||
|
|
||||||
export const useGetImageDTOQuery = (...args: Parameters<typeof imagesApi.useGetImageDTOQuery>) => {
|
|
||||||
return imagesApi.useGetImageDTOQuery(...args);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Imperative RTKQ helper to fetch an ImageDTO.
|
* Imperative RTKQ helper to fetch an ImageDTO.
|
||||||
* @param image_name The name of the image to fetch
|
* @param image_name The name of the image to fetch
|
||||||
|
Loading…
Reference in New Issue
Block a user