Skip to content

Commit

Permalink
[fix] type issue from race condition on merge (#194676)
Browse files Browse the repository at this point in the history
## Summary
#191926 introduces something
that's in contradiction with
#194144

This PR adds a fix.
  • Loading branch information
delanni authored Oct 2, 2024
1 parent c84ee4c commit df05976
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const ApiKeyContext = createContext<APIKeyContext>({
initialiseKey: () => {},
});

export const SearchApiKeyProvider: React.FC = ({ children }) => {
export const SearchApiKeyProvider: React.FC<React.PropsWithChildren> = ({ children }) => {
const { http } = useKibana().services;
const [state, dispatch] = useReducer(reducer, initialState);

Expand Down

0 comments on commit df05976

Please sign in to comment.