Skip to content

Commit

Permalink
implementation should be optional parameter (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
WarisR authored and logaretm committed Sep 20, 2019
1 parent db98d68 commit 576951d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modes.ts
Expand Up @@ -46,7 +46,7 @@ export const modes: { [k: string]: InteractionModeFactory } = {
lazy
};

export const setInteractionMode = (mode: string, implementation: InteractionModeFactory) => {
export const setInteractionMode = (mode: string, implementation?: InteractionModeFactory) => {
setConfig({ mode });
if (!implementation) {
return;
Expand Down

0 comments on commit 576951d

Please sign in to comment.