aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-10 04:01:14 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-10 04:01:14 +0200
commit143678d37b4dfa051bcabd52ca65cfb6d3903995 (patch)
treed6e4e9b2b32c99ce70f20ed4c71c2b78a97d7bec /pages
parent46b66b1f07ab7238aaf2e9d51c3f1ac196d95205 (diff)
update version
Diffstat (limited to 'pages')
-rw-r--r--pages/confirm-contract.tsx2
-rw-r--r--pages/confirm-create-reserve.tsx6
2 files changed, 5 insertions, 3 deletions
diff --git a/pages/confirm-contract.tsx b/pages/confirm-contract.tsx
index 6cdc5ddf9..a30046c2d 100644
--- a/pages/confirm-contract.tsx
+++ b/pages/confirm-contract.tsx
@@ -164,7 +164,7 @@ class ContractPrompt extends preact.Component<ContractPromptProps, ContractPromp
className="accept">
Confirm payment
</button>
- (state.error ? <p className="errorbox">{state.error}</p> : <p />)
+ {(state.error ? <p className="errorbox">{state.error}</p> : <p />)}
<Details contract={c} />
</div>
);
diff --git a/pages/confirm-create-reserve.tsx b/pages/confirm-create-reserve.tsx
index 0a7b9daa5..a95bc46cb 100644
--- a/pages/confirm-create-reserve.tsx
+++ b/pages/confirm-create-reserve.tsx
@@ -241,7 +241,9 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
}
if (this.url() && !this.statusString()) {
let shortName = URI(this.url()!).host();
- return <p>Waiting for a response from
+ return <p>
+ Waiting for a response from
+ {" "}
<em>{shortName}</em>
</p>;
}
@@ -407,4 +409,4 @@ export async function main() {
document.body.innerText = `Fatal error: "${e.message}".`;
console.error(`got error "${e.message}"`, e);
}
-} \ No newline at end of file
+}