This commit is contained in:
Belen Curcio
2017-05-10 15:57:21 -03:00
parent c3dff79e6e
commit 10e8a32c21
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -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 (
<div className={cn({[styles.inline]: inline, [styles.debug]: config.debug})}>
{getSlotElements(fill, {...rest, ...config})}
{getSlotElements(fill, {...rest, config}}
</div>
);
}
@@ -7,7 +7,6 @@ const isOffTopic = (tags) => {
export default (props) => (
<span>
{console.log(props)}
{
isOffTopic(props.comment.tags) ? (
<span className={styles.tag}>