From 1007afa9e3eae2e76036c8da14dab1d1b9511636 Mon Sep 17 00:00:00 2001 From: "alexis.vigoureux" Date: Thu, 2 Nov 2023 09:51:51 +0100 Subject: [PATCH] feat(admin-ui): Export useDataService hook --- packages/admin-ui/src/lib/react/src/react-hooks/use-query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin-ui/src/lib/react/src/react-hooks/use-query.ts b/packages/admin-ui/src/lib/react/src/react-hooks/use-query.ts index 79d8860e04..0aa8a9113b 100644 --- a/packages/admin-ui/src/lib/react/src/react-hooks/use-query.ts +++ b/packages/admin-ui/src/lib/react/src/react-hooks/use-query.ts @@ -112,7 +112,7 @@ export function useMutation = Record = Record>( +export function useDataService = Record>( operation: (dataService: DataService, variables?: V) => Observable, ) { const context = useContext(HostedComponentContext);