// @flow import * as React from 'react'; import Button from 'component/button'; import Page from 'component/page'; type Props = { daemonSettings: { wallet_dir: ?string, }, }; class BackupPage extends React.PureComponent { render() { const { daemonSettings } = this.props; const { wallet_dir: lbryumWalletDir } = daemonSettings; const noDaemonSettings = Object.keys(daemonSettings).length === 0; return (
{noDaemonSettings ? (

{__('Failed to load settings.')}

) : (

{__('Backup Your LBRY Credits')}

{__( 'Your LBRY credits are controllable by you and only you, via wallet file(s) stored locally on your computer.' )}

{__( 'Currently, there is no automatic wallet backup. If you lose access to these files, you will lose your credits permanently.' )}

{__( 'However, it is fairly easy to back up manually. To backup your wallet, make a copy of the folder listed below:' )}

{lbryumWalletDir}

{__( 'Access to these files are equivalent to having access to your credits. Keep any copies you make of your wallet in a secure place.' )}

For more details on backing up and best practices,{' '}

)}
); } } export default BackupPage;