From 1c977301cb65ec5604ee02041428579eb16317cf Mon Sep 17 00:00:00 2001 From: "Ouin, Edouard" Date: Wed, 4 Sep 2024 09:13:32 +0100 Subject: [PATCH] fix(ga): issue #606 - update unit test and code --- .../webview/ui/components/GuidedAnswerNode/GuidedAnswerNode.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/webview/ui/components/GuidedAnswerNode/GuidedAnswerNode.tsx b/packages/webapp/src/webview/ui/components/GuidedAnswerNode/GuidedAnswerNode.tsx index 0393c223..bdd66f22 100644 --- a/packages/webapp/src/webview/ui/components/GuidedAnswerNode/GuidedAnswerNode.tsx +++ b/packages/webapp/src/webview/ui/components/GuidedAnswerNode/GuidedAnswerNode.tsx @@ -23,7 +23,7 @@ import { Right } from './Right'; function replace(domNode: DOMNode): ReactElement | undefined { let result: ReactElement | undefined; if (domNode.type === 'tag') { - const domElement: Element = domNode as Element; + const domElement: Element = domNode; result = replaceDataCommand(domElement);