Make prettier happy

This commit is contained in:
Vinoth Kannan 2018-07-27 13:20:21 +05:30
parent c0f7d95bb8
commit 5b4e13bfcc

View File

@ -177,8 +177,7 @@ export default createWidget("hamburger-menu", {
listCategories() { listCategories() {
const maxCategoriesToDisplay = 6; const maxCategoriesToDisplay = 6;
const categoriesList = this.site const categoriesList = this.site.get("categoriesByCount");
.get("categoriesByCount");
let categories = []; let categories = [];
let showMore = categoriesList.length > maxCategoriesToDisplay; let showMore = categoriesList.length > maxCategoriesToDisplay;