Skip to content

Commit

Permalink
refactor: remove spread syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Oct 27, 2019
1 parent 7928973 commit f093749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Theme(ctx) {
languages.push('default');

this.i18n = new I18n({
languages: [...new Set(languages.filter(Boolean))]
languages: [new Set(languages.filter(x => !!x))]
});

const viewFn = function(path, data) {
Expand Down

0 comments on commit f093749

Please sign in to comment.