[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 01/02: context is optional
From: |
gnunet |
Subject: |
[taler-wallet-core] 01/02: context is optional |
Date: |
Tue, 20 Dec 2022 19:43:03 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit 1500c91f36da96226af1226c10bdd83c55c92c23
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Dec 20 15:27:44 2022 -0300
context is optional
---
packages/web-util/src/tests/hook.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/packages/web-util/src/tests/hook.ts
b/packages/web-util/src/tests/hook.ts
index a4938f3f9..0ec47f252 100644
--- a/packages/web-util/src/tests/hook.ts
+++ b/packages/web-util/src/tests/hook.ts
@@ -80,7 +80,7 @@ const isNode = typeof window === "undefined";
export function renderNodeOrBrowser(
Component: any,
args: any,
- Context: any,
+ Context?: any,
): void {
const vdom = !Context
? create(Component, args)
@@ -91,7 +91,6 @@ export function renderNodeOrBrowser(
if (!isNode) {
document.body.appendChild(parentElement);
}
-
// renderIntoDom works also in nodejs
// if the VirtualDOM is composed only by functional components
// then no called is going to be made to the DOM api.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.