Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix(maps): return undefined in GeoSearchContext
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Feb 21, 2019
1 parent b983321 commit 3733602
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-instantsearch-dom-maps/src/GeoSearchContext.ts
Expand Up @@ -11,9 +11,9 @@ type GeoSearchContextState = {
const GeoSearchContext = React.createContext<GeoSearchContextState>({
isRefineOnMapMove: true,
hasMapMoveSinceLastRefine: false,
toggleRefineOnMapMove: () => {},
setMapMoveSinceLastRefine: () => {},
refineWithInstance: () => {},
toggleRefineOnMapMove: () => undefined,
setMapMoveSinceLastRefine: () => undefined,
refineWithInstance: () => undefined,
});

export default GeoSearchContext;

0 comments on commit 3733602

Please sign in to comment.