diff --git a/client/coral-embed-stream/src/Embed.js b/client/coral-embed-stream/src/Embed.js index f329ba230..b79c387f0 100644 --- a/client/coral-embed-stream/src/Embed.js +++ b/client/coral-embed-stream/src/Embed.js @@ -269,11 +269,15 @@ class Embed extends Component { } } -const mapStateToProps = state => ({ - auth: state.auth.toJS(), - userData: state.user.toJS(), - asset: state.asset.toJS() -}); +const mapStateToProps = (state) => Object + .keys(state) + .reduce((entry, key) => { + if (key !== 'apollo') { + entry[key] = state[key].toJS(); + } + console.log(entry); + return entry; + }, {}); const mapDispatchToProps = dispatch => ({ requestConfirmEmail: () => dispatch(requestConfirmEmail()), diff --git a/plugins/coral-plugin-respect/client/style.css b/plugins/coral-plugin-respect/client/style.css index c10503213..32773ed26 100644 --- a/plugins/coral-plugin-respect/client/style.css +++ b/plugins/coral-plugin-respect/client/style.css @@ -1,9 +1,11 @@ .Respect { display: inline-block; button { - padding: 10px 2px; - border-radius: 3px; - background: #ffa16e; color: #161616; + margin: 5px 10px 5px 0px; + background: none; + padding: 0px; + border: none; + font-size: inherit; } } \ No newline at end of file