From 1ded53f6bbc767c81792446f7ee87346d2a0c0d0 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Wed, 26 Jun 2019 17:06:33 -0700 Subject: [PATCH] use css composition instead of props --- components/Carbon.js | 6 +++--- pages/embed.js | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/components/Carbon.js b/components/Carbon.js index ad67a1f..d5c033b 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -153,8 +153,8 @@ class Carbon extends React.PureComponent { /> {config.watermark && }
- {!this.props.embed &&
} - {!this.props.embed &&
} +
+
) }