aboutsummaryrefslogtreecommitdiff
path: root/lib/wallet/renderHtml.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wallet/renderHtml.tsx')
-rw-r--r--lib/wallet/renderHtml.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/wallet/renderHtml.tsx b/lib/wallet/renderHtml.tsx
index 6afe32b74..940d5c425 100644
--- a/lib/wallet/renderHtml.tsx
+++ b/lib/wallet/renderHtml.tsx
@@ -34,15 +34,15 @@ export function renderContract(contract: Contract): JSX.Element {
return (
<div>
- <p>{
- i18n.parts`${merchantName}
- wants to enter a contract over ${amount}
- with you.`}
+ <p>
+ The merchant {merchantName}
+ wants to enter a contract over {amount}{" "}
+ with you.
</p>
<p>{i18n`You are about to purchase:`}</p>
<ul>
{contract.products.map(
- (p: any) => (<li>{`${p.description}: ${prettyAmount(p.price)}`}</li>))
+ (p: any, i: number) => (<li key={i}>{`${p.description}: ${prettyAmount(p.price)}`}</li>))
}
</ul>
</div>