From 1d85662946c393ea6985c178842be40d38fc687d Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 28 Mar 2022 14:03:59 -0300
Subject: storybook like page for dev, plus some style fixes

---
 packages/taler-wallet-webextension/src/cta/Pay.tsx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/cta/Pay.tsx')

diff --git a/packages/taler-wallet-webextension/src/cta/Pay.tsx b/packages/taler-wallet-webextension/src/cta/Pay.tsx
index f6ae02f72..28b84a534 100644
--- a/packages/taler-wallet-webextension/src/cta/Pay.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Pay.tsx
@@ -51,6 +51,7 @@ import {
   LinkPrimary,
   LinkSuccess,
   SmallLightText,
+  SubTitle,
   SuccessBox,
   WalletAction,
   WarningBox,
@@ -92,9 +93,9 @@ export function PayPage({
   const [payResult, setPayResult] = useState<ConfirmPayResult | undefined>(
     undefined,
   );
-  const [payErrMsg, setPayErrMsg] = useState<
-    TalerError | string | undefined
-  >(undefined);
+  const [payErrMsg, setPayErrMsg] = useState<TalerError | string | undefined>(
+    undefined,
+  );
 
   const hook = useAsyncAsHook(async () => {
     if (!talerPayUri) throw Error("Missing pay uri");
@@ -318,9 +319,9 @@ export function PaymentRequestView({
     <WalletAction>
       <LogoHeader />
 
-      <h2>
+      <SubTitle>
         <i18n.Translate>Digital cash payment</i18n.Translate>
-      </h2>
+      </SubTitle>
       {payStatus.status === PreparePayResultType.AlreadyConfirmed &&
         (payStatus.paid ? (
           payStatus.contractTerms.fulfillment_url ? (
-- 
cgit v1.2.3

