From 10e8a32c2111fa0da87152a9bedef98fececf45c Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Wed, 10 May 2017 15:57:21 -0300 Subject: [PATCH] Changes --- client/coral-framework/components/Slot.js | 4 ++-- .../coral-plugin-offtopic/client/components/OffTopicTag.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/coral-framework/components/Slot.js b/client/coral-framework/components/Slot.js index 9640ca9de..3c9c17476 100644 --- a/client/coral-framework/components/Slot.js +++ b/client/coral-framework/components/Slot.js @@ -4,10 +4,10 @@ import styles from './Slot.css'; import {connect} from 'react-redux'; import {getSlotElements} from 'coral-framework/helpers/plugins'; -function Slot ({fill, inline = false, plugin_config: {...config}, ...rest}) { +function Slot ({fill, inline = false, plugin_config: config, ...rest}) { return (
- {getSlotElements(fill, {...rest, ...config})} + {getSlotElements(fill, {...rest, config}}
); } diff --git a/plugins/coral-plugin-offtopic/client/components/OffTopicTag.js b/plugins/coral-plugin-offtopic/client/components/OffTopicTag.js index 5a84fc360..73e2372ed 100644 --- a/plugins/coral-plugin-offtopic/client/components/OffTopicTag.js +++ b/plugins/coral-plugin-offtopic/client/components/OffTopicTag.js @@ -7,7 +7,6 @@ const isOffTopic = (tags) => { export default (props) => ( - {console.log(props)} { isOffTopic(props.comment.tags) ? (