fix: fixed available locale list (#603)

This commit is contained in:
Anurag Hazra
2020-10-31 14:50:46 +05:30
committed by GitHub
parent ff9cf1317f
commit 10d8ca6a38
5 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -5,11 +5,11 @@ const {
parseArray,
clampValue,
CONSTANTS,
isLocaleAvailable,
} = require("../src/common/utils");
const fetchStats = require("../src/fetchers/stats-fetcher");
const renderStatsCard = require("../src/cards/stats-card");
const blacklist = require("../src/common/blacklist");
const { isLocaleAvailable } = require("../src/translations");
module.exports = async (req, res) => {
const {
+1 -1
View File
@@ -4,11 +4,11 @@ const {
parseBoolean,
clampValue,
CONSTANTS,
isLocaleAvailable,
} = require("../src/common/utils");
const fetchRepo = require("../src/fetchers/repo-fetcher");
const renderRepoCard = require("../src/cards/repo-card");
const blacklist = require("../src/common/blacklist");
const { isLocaleAvailable } = require("../src/translations");
module.exports = async (req, res) => {
const {
+1 -1
View File
@@ -5,11 +5,11 @@ const {
parseBoolean,
parseArray,
CONSTANTS,
isLocaleAvailable,
} = require("../src/common/utils");
const fetchTopLanguages = require("../src/fetchers/top-languages-fetcher");
const renderTopLanguages = require("../src/cards/top-languages-card");
const blacklist = require("../src/common/blacklist");
const { isLocaleAvailable } = require("../src/translations");
module.exports = async (req, res) => {
const {