react-instantsearch-core
7.25.07.26.0
dist/es/lib/useAppIdAndApiKey.js~
dist/es/lib/useAppIdAndApiKey.jsModified+9−7
Index: package/dist/es/lib/useAppIdAndApiKey.js
===================================================================
--- package/dist/es/lib/useAppIdAndApiKey.js
+++ package/dist/es/lib/useAppIdAndApiKey.js
@@ -1,7 +1,9 @@
-import { getAppIdAndApiKey } from "instantsearch.js/es/lib/utils/index.js";
-import { useInstantSearchContext } from "./useInstantSearchContext.js";
-export var useAppIdAndApiKey = function useAppIdAndApiKey() {
- var _useInstantSearchCont = useInstantSearchContext(),
- client = _useInstantSearchCont.client;
- return getAppIdAndApiKey(client);
-};
\ No newline at end of file
+import { getAppIdAndApiKey } from 'instantsearch.js/es/lib/utils/index.js';
+import { useInstantSearchContext } from './useInstantSearchContext.js';
+
+var useAppIdAndApiKey = function useAppIdAndApiKey() {
+ var client = useInstantSearchContext().client;
+ return getAppIdAndApiKey(client);
+};
+
+export { useAppIdAndApiKey };