From 28e0b8dc27e71c4b383f49db3be2a31088924bf1 Mon Sep 17 00:00:00 2001 From: 94117nl Date: Wed, 28 Jun 2017 09:38:57 -0500 Subject: PLT-6456 Migrate installed_commands.jsx to be pure and use Redux (#6759) * Add documentation to props, migrate to pure component * Migrate commands_container and installed_commands to redux * Partially move confirm_integration to redux * Add more props to commands_container * Fix identation issue * Remove unused import * Update command token to reference redux store --- webapp/routes/route_integrations.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'webapp/routes') diff --git a/webapp/routes/route_integrations.jsx b/webapp/routes/route_integrations.jsx index cf59882dd..c7c7497b8 100644 --- a/webapp/routes/route_integrations.jsx +++ b/webapp/routes/route_integrations.jsx @@ -61,14 +61,14 @@ export default { { path: 'commands', getComponents: (location, callback) => { - System.import('components/integrations/components/commands_container.jsx').then(RouteUtils.importComponentSuccess(callback)); + System.import('components/integrations/components/commands_container').then(RouteUtils.importComponentSuccess(callback)); }, indexRoute: {onEnter: (nextState, replace) => replace(nextState.location.pathname + '/installed')}, childRoutes: [ { path: 'installed', getComponents: (location, callback) => { - System.import('components/integrations/components/installed_commands.jsx').then(RouteUtils.importComponentSuccess(callback)); + System.import('components/integrations/components/installed_commands').then(RouteUtils.importComponentSuccess(callback)); } }, { @@ -86,7 +86,7 @@ export default { { path: 'confirm', getComponents: (location, callback) => { - System.import('components/integrations/components/confirm_integration.jsx').then(RouteUtils.importComponentSuccess(callback)); + System.import('components/integrations/components/confirm_integration').then(RouteUtils.importComponentSuccess(callback)); } } ] @@ -110,7 +110,7 @@ export default { { path: 'confirm', getComponents: (location, callback) => { - System.import('components/integrations/components/confirm_integration.jsx').then(RouteUtils.importComponentSuccess(callback)); + System.import('components/integrations/components/confirm_integration').then(RouteUtils.importComponentSuccess(callback)); } } ] -- cgit v1.2.3-1-g7c22