From 9feccbc576f752e2344f0f97488c4516de814513 Mon Sep 17 00:00:00 2001 From: paultirk Date: Fri, 24 May 2024 15:22:44 +0200 Subject: [PATCH] fix wrong function call in currency text tests --- src/components/CurrencyText.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CurrencyText.spec.ts b/src/components/CurrencyText.spec.ts index d26f738..88c6913 100644 --- a/src/components/CurrencyText.spec.ts +++ b/src/components/CurrencyText.spec.ts @@ -126,7 +126,7 @@ describe('CurrencyText', () => { return { container: renderResult.container, - updateProps: renderResult.updateProps.bind(undefined) + updateProps: (props) => renderResult.rerender(props) }; } });