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) ? (