From 97cb4ff3bc863c4e981348027426e73e43dccc56 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 14 Nov 2019 12:11:46 -0500 Subject: [PATCH] hide embed area for channel share modal --- ui/component/shareButton/view.jsx | 5 +++-- ui/component/socialShare/view.jsx | 4 ++-- ui/page/channel/view.jsx | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ui/component/shareButton/view.jsx b/ui/component/shareButton/view.jsx index afb525b73..871156ef0 100644 --- a/ui/component/shareButton/view.jsx +++ b/ui/component/shareButton/view.jsx @@ -6,18 +6,19 @@ import Button from 'component/button'; type Props = { uri: string, + isChannel: boolean, doOpenModal: (id: string, {}) => void, }; export default function ShareButton(props: Props) { - const { uri, doOpenModal } = props; + const { uri, doOpenModal, isChannel = false } = props; return (