Update hamburger-menu.js.es6

This commit is contained in:
Vinoth Kannan 2016-11-19 23:49:31 +05:30 committed by GitHub
parent c86588469f
commit c90376653b
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ export default createWidget('hamburger-menu', {
label: this.site.mobileView ? "desktop_view" : "mobile_view" });
}
const extraLinks = applyDecorators(this, 'footerLinks', this.attrs, this.state);
const extraLinks = flatten(applyDecorators(this, 'footerLinks', this.attrs, this.state));
return links.concat(extraLinks).map(l => this.attach('link', l));
},