diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-06-22 10:30:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-22 10:30:01 -0400 |
commit | 14510ce19470c176a7f286d4a3238e813f7dc959 (patch) | |
tree | 3aeb058bd9fc0395a040785c876a2762e523df96 /webapp/components/admin_console | |
parent | 00dc8e734c5af9e2a7de778b60a2eeaa0e1be269 (diff) | |
download | chat-14510ce19470c176a7f286d4a3238e813f7dc959.tar.gz chat-14510ce19470c176a7f286d4a3238e813f7dc959.tar.bz2 chat-14510ce19470c176a7f286d4a3238e813f7dc959.zip |
Adding webpack code splitting (#3377)
Diffstat (limited to 'webapp/components/admin_console')
5 files changed, 5 insertions, 5 deletions
diff --git a/webapp/components/admin_console/admin_navbar_dropdown.jsx b/webapp/components/admin_console/admin_navbar_dropdown.jsx index 65a76a517..0bac263ef 100644 --- a/webapp/components/admin_console/admin_navbar_dropdown.jsx +++ b/webapp/components/admin_console/admin_navbar_dropdown.jsx @@ -10,7 +10,7 @@ import * as GlobalActions from 'actions/global_actions.jsx'; import {FormattedMessage} from 'react-intl'; -import {Link} from 'react-router'; +import {Link} from 'react-router/es6'; import React from 'react'; diff --git a/webapp/components/admin_console/admin_sidebar.jsx b/webapp/components/admin_console/admin_sidebar.jsx index 565279e72..cb98c8ab1 100644 --- a/webapp/components/admin_console/admin_sidebar.jsx +++ b/webapp/components/admin_console/admin_sidebar.jsx @@ -11,7 +11,7 @@ import * as Utils from 'utils/utils.jsx'; import AdminSidebarHeader from './admin_sidebar_header.jsx'; import AdminSidebarTeam from './admin_sidebar_team.jsx'; import {FormattedMessage} from 'react-intl'; -import {browserHistory} from 'react-router'; +import {browserHistory} from 'react-router/es6'; import {OverlayTrigger, Tooltip} from 'react-bootstrap'; import SelectTeamModal from './select_team_modal.jsx'; import AdminSidebarCategory from './admin_sidebar_category.jsx'; diff --git a/webapp/components/admin_console/admin_sidebar_category.jsx b/webapp/components/admin_console/admin_sidebar_category.jsx index 9f56d626b..1cf96f979 100644 --- a/webapp/components/admin_console/admin_sidebar_category.jsx +++ b/webapp/components/admin_console/admin_sidebar_category.jsx @@ -3,7 +3,7 @@ import React from 'react'; -import {Link} from 'react-router'; +import {Link} from 'react-router/es6'; export default class AdminSidebarCategory extends React.Component { static get propTypes() { diff --git a/webapp/components/admin_console/admin_sidebar_section.jsx b/webapp/components/admin_console/admin_sidebar_section.jsx index 56e520629..a958150b5 100644 --- a/webapp/components/admin_console/admin_sidebar_section.jsx +++ b/webapp/components/admin_console/admin_sidebar_section.jsx @@ -3,7 +3,7 @@ import React from 'react'; -import {Link} from 'react-router'; +import {Link} from 'react-router/es6'; export default class AdminSidebarSection extends React.Component { static get propTypes() { diff --git a/webapp/components/admin_console/user_item.jsx b/webapp/components/admin_console/user_item.jsx index a337f2304..62de50f0f 100644 --- a/webapp/components/admin_console/user_item.jsx +++ b/webapp/components/admin_console/user_item.jsx @@ -10,7 +10,7 @@ import TeamStore from 'stores/team_store.jsx'; import {FormattedMessage, FormattedHTMLMessage} from 'react-intl'; import React from 'react'; -import {browserHistory} from 'react-router'; +import {browserHistory} from 'react-router/es6'; export default class UserItem extends React.Component { constructor(props) { |