// @flow import * as ICONS from 'constants/icons'; import React from 'react'; import Button from 'component/button'; import Yrbl from 'component/yrbl'; import { STATUS_DEGRADED, STATUS_FAILING, STATUS_DOWN } from 'web/effects/use-degraded-performance'; import { SITE_HELP_EMAIL } from 'config'; type Props = { lbryTvApiStatus: string, }; export default function SyncFatalError(props: Props) { const { lbryTvApiStatus } = props; const downTime = IS_WEB && (lbryTvApiStatus === STATUS_DEGRADED || lbryTvApiStatus === STATUS_FAILING || lbryTvApiStatus === STATUS_DOWN); return (