From df059766731adf142bcc0c75d9db77e859b0b25f Mon Sep 17 00:00:00 2001 From: Alex Szabo Date: Wed, 2 Oct 2024 12:05:30 +0200 Subject: [PATCH] [fix] type issue from race condition on merge (#194676) ## Summary https://github.com/elastic/kibana/pull/191926 introduces something that's in contradiction with https://github.com/elastic/kibana/pull/194144 This PR adds a fix. --- .../src/providers/search_api_key_provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx b/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx index f3a81e72d3b2e..d524280cfb613 100644 --- a/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx +++ b/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx @@ -72,7 +72,7 @@ export const ApiKeyContext = createContext({ initialiseKey: () => {}, }); -export const SearchApiKeyProvider: React.FC = ({ children }) => { +export const SearchApiKeyProvider: React.FC = ({ children }) => { const { http } = useKibana().services; const [state, dispatch] = useReducer(reducer, initialState);