ensure lbrytv api status is web only

This commit is contained in:
Sean Yesmunt 2021-03-16 17:21:47 -04:00
parent 239b0fbe27
commit 19023a31d0
2 changed files with 8 additions and 1 deletions

View file

@ -352,7 +352,13 @@ function App(props: Props) {
// @endif
if (syncFatalError) {
return <SyncFatalError lbryTvApiStatus={lbryTvApiStatus} />;
return (
<SyncFatalError
// @if TARGET='web'
lbryTvApiStatus={lbryTvApiStatus}
// @endif
/>
);
}
return (

View file

@ -16,6 +16,7 @@ export default function SyncFatalError(props: Props) {
const { lbryTvApiStatus } = props;
let downTime = false;
// @if TARGET='web'
downTime =
IS_WEB &&