fix: change text-input widget to text in signyour-self flow

This commit is contained in:
RaktimaNXG
2024-03-21 18:01:02 +05:30
parent 6bcad91b0f
commit 126b6ad355
@@ -233,14 +233,14 @@ function WidgetComponent({
(data) =>
data.type !== "dropdown" &&
data.type !== radioButtonWidget &&
data.type !== textWidget
data.type !== textInputWidget
);
const textWidgetData = widget.filter((data) => data.type !== textWidget);
const updateWidgets = isSignYourself
? filterWidgets
: isTemplateFlow
? textWidgetData
: widget;
? textWidgetData
: widget;
return (
<>