From ed377e90d4e54468b0fcd5e3edc12fe3e135c95f Mon Sep 17 00:00:00 2001 From: amar-1995 Date: Tue, 20 Jun 2023 13:42:21 +0530 Subject: [PATCH] fix: enable pdfjs for prod --- apps/100ms-web/src/components/ScreenShare.jsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/apps/100ms-web/src/components/ScreenShare.jsx b/apps/100ms-web/src/components/ScreenShare.jsx index 7ee3d6018c..9ee6438c30 100644 --- a/apps/100ms-web/src/components/ScreenShare.jsx +++ b/apps/100ms-web/src/components/ScreenShare.jsx @@ -12,17 +12,9 @@ import { useUISettings } from "./AppData/useUISettings"; import { isScreenshareSupported } from "../common/utils"; import { UI_SETTINGS } from "../common/constants"; -const isProd = process.env.REACT_APP_ENV === "prod"; export const ScreenshareToggle = ({ css = {} }) => { - const finalCSS = { - borderTopRightRadius: "$1", - borderBottomRightRadius: "$1", - }; const isAllowedToPublish = useHMSStore(selectIsAllowedToPublish); const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly); - if (isProd) { - css = { ...finalCSS, ...css }; - } const { amIScreenSharing, @@ -55,7 +47,7 @@ export const ScreenshareToggle = ({ css = {} }) => { - {!isProd && } + );