ensure lbrytv api status is web only
This commit is contained in:
parent
239b0fbe27
commit
19023a31d0
2 changed files with 8 additions and 1 deletions
|
@ -352,7 +352,13 @@ function App(props: Props) {
|
|||
// @endif
|
||||
|
||||
if (syncFatalError) {
|
||||
return <SyncFatalError lbryTvApiStatus={lbryTvApiStatus} />;
|
||||
return (
|
||||
<SyncFatalError
|
||||
// @if TARGET='web'
|
||||
lbryTvApiStatus={lbryTvApiStatus}
|
||||
// @endif
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
@ -16,6 +16,7 @@ export default function SyncFatalError(props: Props) {
|
|||
const { lbryTvApiStatus } = props;
|
||||
|
||||
let downTime = false;
|
||||
|
||||
// @if TARGET='web'
|
||||
downTime =
|
||||
IS_WEB &&
|
||||
|
|
Loading…
Reference in a new issue