Upgraded to the newest version of react-intl

This commit is contained in:
Przemek Wiech
2021-04-02 00:40:57 +02:00
parent 44e1954dda
commit df5ae76180
13 changed files with 653 additions and 778 deletions

View File

@@ -65,7 +65,7 @@ class LunrSearchIndex implements SearchIndex {
initialize() {
const self = this;
this.index = lunr(function() {
this.index = lunr(function () {
this.use((lunr as any).multiLanguage('de', 'en', 'fr', 'it', 'ru'));
this.ref('id');
this.field('id');