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 // @endif
if (syncFatalError) { if (syncFatalError) {
return <SyncFatalError lbryTvApiStatus={lbryTvApiStatus} />; return (
<SyncFatalError
// @if TARGET='web'
lbryTvApiStatus={lbryTvApiStatus}
// @endif
/>
);
} }
return ( return (

View file

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