File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const withUsage = createDocumentationMessageGenerator({
1515} ) ;
1616
1717export type VoiceSearchConnectorParams = {
18- searchAsYouSpeak : boolean ;
18+ searchAsYouSpeak ? : boolean ;
1919} ;
2020
2121export interface VoiceSearchRenderOptions < TVoiceSearchWidgetParams >
@@ -71,7 +71,7 @@ const connectVoiceSearch: VoiceSearchConnector = (
7171 ) ;
7272 } ;
7373
74- const { searchAsYouSpeak } = widgetParams ;
74+ const { searchAsYouSpeak = false } = widgetParams ;
7575
7676 return {
7777 init ( { helper, instantSearchInstance } ) {
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ const voiceSearch: VoiceSearch = (
7979 container,
8080 cssClasses : userCssClasses = { } as VoiceSearchCSSClasses ,
8181 templates,
82- searchAsYouSpeak = false ,
82+ searchAsYouSpeak,
8383 } = { } as VoiceSearchWidgetParams
8484) => {
8585 if ( ! container ) {
You can’t perform that action at this time.
0 commit comments