diff --git a/client/coral-framework/components/Slot.js b/client/coral-framework/components/Slot.js index d5a364aee..54cb96271 100644 --- a/client/coral-framework/components/Slot.js +++ b/client/coral-framework/components/Slot.js @@ -3,9 +3,10 @@ import {importer as injectPlugins} from 'coral-framework/helpers/importer'; class Slot extends Component { render() { + const {pluginProps: actions, ...props} = this.props; return (
- {injectPlugins(this.props)} + {injectPlugins({...props, actions})}
); } diff --git a/plugins/coral-plugin-respect/client/index.js b/plugins/coral-plugin-respect/client/index.js index d5ecc5f0d..9eb9b7cb9 100644 --- a/plugins/coral-plugin-respect/client/index.js +++ b/plugins/coral-plugin-respect/client/index.js @@ -3,7 +3,8 @@ import styles from './style.css'; export default (props) => (
- + {console.log(props)} +
);