Skip to content

Commit eb27152

Browse files
sylvinusHaroenv
authored andcommitted
fix(warning): make sure suggested import is possible (#3014)
1 parent 6635304 commit eb27152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Object.defineProperty(instantSearchFactory, 'widgets', {
1919
get() {
2020
throw new ReferenceError(
2121
`You can't access 'instantsearch.widgets' directly from the ES6 build.
22-
Import the widgets this way: 'import {SearchBox} from "instantsearch.js/es/widgets"'`
22+
Import the widgets this way: 'import {searchBox} from "instantsearch.js/es/widgets"'`
2323
);
2424
},
2525
});

0 commit comments

Comments
 (0)