diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index 2dc4712c5..10b5e17b7 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -21,7 +21,7 @@ import OpenInAppLink from 'lbrytv/component/openInAppLink'; import YoutubeWelcome from 'lbrytv/component/youtubeReferralWelcome'; import NagDegradedPerformance from 'lbrytv/component/nag-degraded-performance'; import NagDataCollection from 'lbrytv/component/nag-data-collection'; -// @endif + import { useDegradedPerformance, STATUS_OK, @@ -29,6 +29,7 @@ import { STATUS_FAILING, STATUS_DOWN, } from 'lbrytv/effects/use-degraded-performance'; +// @endif export const MAIN_WRAPPER_CLASS = 'main-wrapper'; // @if TARGET='app' export const IS_MAC = process.platform === 'darwin'; @@ -110,8 +111,8 @@ function App(props: Props) { const previousRewardApproved = usePrevious(isRewardApproved); // @if TARGET='web' const [showAnalyticsNag, setShowAnalyticsNag] = usePersistedState('analytics-nag', true); - // @endif const [lbryTvApiStatus, setLbryTvApiStatus] = useState(STATUS_OK); + // @endif const { pathname, hash, search } = props.location; const showUpgradeButton = autoUpdateDownloaded || (process.platform === 'linux' && isUpgradeAvailable); // referral claiming