Skip to content

Commit 4a67943

Browse files
committed
Fixes
1 parent f142600 commit 4a67943

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pages/DictionariesAll/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,12 @@ function constructTree(
7575
return null;
7676
}
7777

78-
/*
7978
function merge_trees() {
8079
if (proxyData === null) {
8180
return languages;
8281
}
8382
const { languages: proxyLanguages, tree: proxyTree } = proxyData.language_tree;
8483
}
85-
*/
8684

8785
languages.forEach(language => {
8886
languageMap[compositeIdToString(language.id)] = language;
@@ -356,13 +354,12 @@ const DictionariesAll = ({ forCorpora = false, forParallelCorpora = false }) =>
356354
fetchPolicy: "cache-and-network",
357355
skip: skip_general || activeTab !== "1" || aSortMode != sortMode
358356
});
359-
/*
357+
360358
queryDictIdProxy[aSortMode] = useQuery(getLanguageTree, {
361359
variables: { ...variablesId, proxy },
362360
fetchPolicy: "cache-and-network",
363361
skip: skip_general || !proxy || !entityIdValue || aSortMode != sortMode
364362
});
365-
*/
366363

367364
queryDictAllProxy[aSortMode] = useQuery(getLanguageTree, {
368365
variables: { ...variablesAll, proxy },

0 commit comments

Comments
 (0)