From 1d4815c66c395f4fcc86c30e20f3d005e3cb9ff5 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 15 Nov 2021 11:18:58 -0300
Subject: prettier

---
 .../src/cta/Refund.stories.tsx                     | 72 +++++++++++-----------
 1 file changed, 35 insertions(+), 37 deletions(-)

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

diff --git a/packages/taler-wallet-webextension/src/cta/Refund.stories.tsx b/packages/taler-wallet-webextension/src/cta/Refund.stories.tsx
index 88e714cb7..a0abcea58 100644
--- a/packages/taler-wallet-webextension/src/cta/Refund.stories.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Refund.stories.tsx
@@ -15,63 +15,61 @@
  */
 
 /**
-*
-* @author Sebastian Javier Marchano (sebasjm)
-*/
-
-import { OrderShortInfo } from '@gnu-taler/taler-util';
-import { createExample } from '../test-utils';
-import { View as TestedComponent } from './Refund';
+ *
+ * @author Sebastian Javier Marchano (sebasjm)
+ */
 
+import { OrderShortInfo } from "@gnu-taler/taler-util";
+import { createExample } from "../test-utils";
+import { View as TestedComponent } from "./Refund";
 
 export default {
-  title: 'cta/refund',
+  title: "cta/refund",
   component: TestedComponent,
-  argTypes: {
-  },
+  argTypes: {},
 };
 
 export const Complete = createExample(TestedComponent, {
   applyResult: {
-    amountEffectivePaid: 'USD:10',
-    amountRefundGone: 'USD:0',
-    amountRefundGranted: 'USD:2',
-    contractTermsHash: 'QWEASDZXC',
-    info: {
-      summary: 'tasty cold beer',
-      contractTermsHash: 'QWEASDZXC',
-    } as Partial<OrderShortInfo> as any,
+    amountEffectivePaid: "USD:10",
+    amountRefundGone: "USD:0",
+    amountRefundGranted: "USD:2",
+    contractTermsHash: "QWEASDZXC",
+    info: ({
+      summary: "tasty cold beer",
+      contractTermsHash: "QWEASDZXC",
+    } as Partial<OrderShortInfo>) as any,
     pendingAtExchange: false,
     proposalId: "proposal123",
-  }
+  },
 });
 
 export const Partial = createExample(TestedComponent, {
   applyResult: {
-    amountEffectivePaid: 'USD:10',
-    amountRefundGone: 'USD:1',
-    amountRefundGranted: 'USD:2',
-    contractTermsHash: 'QWEASDZXC',
-    info: {
-      summary: 'tasty cold beer',
-      contractTermsHash: 'QWEASDZXC',
-    } as Partial<OrderShortInfo> as any,
+    amountEffectivePaid: "USD:10",
+    amountRefundGone: "USD:1",
+    amountRefundGranted: "USD:2",
+    contractTermsHash: "QWEASDZXC",
+    info: ({
+      summary: "tasty cold beer",
+      contractTermsHash: "QWEASDZXC",
+    } as Partial<OrderShortInfo>) as any,
     pendingAtExchange: false,
     proposalId: "proposal123",
-  }
+  },
 });
 
 export const InProgress = createExample(TestedComponent, {
   applyResult: {
-    amountEffectivePaid: 'USD:10',
-    amountRefundGone: 'USD:1',
-    amountRefundGranted: 'USD:2',
-    contractTermsHash: 'QWEASDZXC',
-    info: {
-      summary: 'tasty cold beer',
-      contractTermsHash: 'QWEASDZXC',
-    } as Partial<OrderShortInfo> as any,
+    amountEffectivePaid: "USD:10",
+    amountRefundGone: "USD:1",
+    amountRefundGranted: "USD:2",
+    contractTermsHash: "QWEASDZXC",
+    info: ({
+      summary: "tasty cold beer",
+      contractTermsHash: "QWEASDZXC",
+    } as Partial<OrderShortInfo>) as any,
     pendingAtExchange: true,
     proposalId: "proposal123",
-  }
+  },
 });
-- 
cgit v1.2.3

