Skip to content

Commit

Permalink
🐛 use languages meta file for functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Dec 26, 2020
1 parent cf4aa55 commit bebd6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/functions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const languages = require("../config").languages.map((l) => l.moment).filter((l) => l !== "en");
const languages = require("../languages/language-meta.json").map((l) => l.moment).filter((l) => l !== "en");
languages.forEach((l) => {
require(`moment/locale/${l}.js`);
});
Expand Down

0 comments on commit bebd6d2

Please sign in to comment.