lbry-desktop/ui/component/syncFatalError/view.jsx

27 lines
729 B
JavaScript

// @Flow
import * as ICONS from 'constants/icons';
import React from 'react';
import Button from 'component/button';
import Yrbl from 'component/yrbl';
export default function SyncFatalError() {
return (
<div className="main--empty">
<Yrbl
title={__('There was an error starting up')}
subtitle={<p>Try refreshing to fix the issue. If that doesn't work, email help@lbry.com for support.</p>}
actions={
<div className="section__actions">
<Button
button="primary"
icon={ICONS.REFRESH}
label={__('Refresh')}
onClick={() => window.location.reload()}
/>
</div>
}
/>
</div>
);
}