From b76fa943544c2c4b54b306f72cff0a7436a07682 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 28 Mar 2017 14:21:06 -0300 Subject: [PATCH] Stable version --- client/coral-framework/components/Slot.js | 1 - client/coral-framework/helpers/importer.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/coral-framework/components/Slot.js b/client/coral-framework/components/Slot.js index c711efe56..f3549340a 100644 --- a/client/coral-framework/components/Slot.js +++ b/client/coral-framework/components/Slot.js @@ -6,7 +6,6 @@ class Slot extends Component { console.log('Slot Mounted'); } render() { - const {slot} = this.props; return (
{injectedPlugins} diff --git a/client/coral-framework/helpers/importer.js b/client/coral-framework/helpers/importer.js index 196353bcb..8b1ee93c0 100644 --- a/client/coral-framework/helpers/importer.js +++ b/client/coral-framework/helpers/importer.js @@ -1,6 +1,6 @@ import {client as clientPlugins} from 'pluginsConfig'; -function importer (slot) { +function importer () { let context, importedFiles; @@ -66,7 +66,7 @@ function importer (slot) { return filterByUserConfig(importedFiles) .filter(key => key.format === 'js') .reduce((entry, plugin) => { - entry.push(context(plugin.key)(getConfig(plugin.name))) + entry.push(context(plugin.key)(getConfig(plugin.name))); return entry; }, []); }