(false);
+ render(): JSX.Element {
+ if (!this.refreshRequested()) {
+ return (
+
+
+
+ );
+ }
+ return (
+
+ Refresh amount:
+
+
+
+ );
+ }
+}
+
class CoinView extends preact.Component {
render() {
let c = this.props.coin;
@@ -94,6 +118,7 @@ class CoinView extends preact.Component {
Current amount: {prettyAmount(c.currentAmount)}
Denomination: {abbrev(c.denomPub, 20)}
Suspended: {(c.suspended || false).toString()}
+
);