From 1a63d56bfdd091cc7aefdf1e25f3a074bfdf5e0e Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 16 Nov 2022 16:04:52 -0300 Subject: fix #7411, also making the backup payment visible --- packages/taler-wallet-webextension/src/context/devContext.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-webextension/src/context/devContext.ts') diff --git a/packages/taler-wallet-webextension/src/context/devContext.ts b/packages/taler-wallet-webextension/src/context/devContext.ts index c494b9403..99301df52 100644 --- a/packages/taler-wallet-webextension/src/context/devContext.ts +++ b/packages/taler-wallet-webextension/src/context/devContext.ts @@ -48,8 +48,9 @@ export const DevContextProviderForTesting = ({ value: { devMode: !!value, devModeToggle: { - value, button: {} - } + value, + button: {}, + }, }, children, }); @@ -57,7 +58,7 @@ export const DevContextProviderForTesting = ({ export const DevContextProvider = ({ children }: { children: any }): VNode => { const devModeToggle = useWalletDevMode(); - const value: Type = { devMode: !!devModeToggle.value, devModeToggle } + const value: Type = { devMode: !!devModeToggle.value, devModeToggle }; //support for function as children, useful for getting the value right away children = children.length === 1 && typeof children === "function" -- cgit v1.2.3