Skip to content

Commit

Permalink
Remove usage of <QueryModules> for loading modules as they will be al…
Browse files Browse the repository at this point in the history
…ready loaded from data passed throught wp_localize_script into the javascript window scope
  • Loading branch information
oskosk committed Jun 21, 2016
1 parent 737fa7f commit bfc40ad
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions _inc/client/components/navigation/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@
* External dependencies
*/
import React from 'react';
import { connect } from 'react-redux';
import SectionNav from 'components/section-nav';
import NavTabs from 'components/section-nav/tabs';
import NavItem from 'components/section-nav/item';
import Search from 'components/search';
import i18n, { translate as __ } from 'i18n-calypso';
import { translate as __ } from 'i18n-calypso';
import injectTapEventPlugin from 'react-tap-event-plugin';
injectTapEventPlugin();

/**
* Internal dependencies
*/
import QueryModules from 'components/data/query-modules';

const Navigation = React.createClass( {
demoSearch: function( keywords ) {
console.log( 'Section Nav Search (keywords):', keywords );
Expand All @@ -24,7 +18,6 @@ const Navigation = React.createClass( {
render: function() {
return (
<div className='dops-navigation'>
<QueryModules />
<SectionNav>
<NavTabs>
<NavItem
Expand Down

0 comments on commit bfc40ad

Please sign in to comment.