55 lines
1.5 KiB
JavaScript
55 lines
1.5 KiB
JavaScript
import React from "react";
|
|
import SubHeader from "component/subHeader";
|
|
import Link from "component/link";
|
|
|
|
class BackupPage extends React.PureComponent {
|
|
render() {
|
|
const { daemonSettings } = this.props;
|
|
|
|
if (!daemonSettings || Object.keys(daemonSettings).length === 0) {
|
|
return (
|
|
<main className="main--single-column">
|
|
<SubHeader />
|
|
<span className="empty">{__("Failed to load settings.")}</span>
|
|
</main>
|
|
);
|
|
}
|
|
|
|
return (
|
|
<main className="main--single-column">
|
|
<SubHeader />
|
|
<section className="card">
|
|
<div className="card__title-primary">
|
|
<h3>{__("Backup Wallet")}</h3>
|
|
</div>
|
|
<div className="card__content">
|
|
<p>
|
|
{__(
|
|
"Currently, there is no automatic wallet backup, but it is fairly easy to back up manually."
|
|
)}
|
|
</p>
|
|
<p>
|
|
{__(
|
|
"To backup your wallet, make a copy of the folder listed below:"
|
|
)}
|
|
</p>
|
|
<p>
|
|
<code>
|
|
{__(`${daemonSettings.lbryum_wallet_dir}`)}
|
|
</code>
|
|
</p>
|
|
<p>
|
|
<strong>
|
|
{__(
|
|
"Access to these files are equivalent to having access to your credits. Keep any copies you make of your wallet in a secure place."
|
|
)}
|
|
</strong>
|
|
</p>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default BackupPage;
|