From 45beca4abbca292e93ff8f357e7a62621d1f170d Mon Sep 17 00:00:00 2001 From: syam babu Date: Thu, 26 Sep 2024 16:47:22 +0530 Subject: [PATCH] fix: Wrong font param in src url during initial render --- src/pages/Dashboard/Settings/WidgetSettings/WidgetSettings.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Dashboard/Settings/WidgetSettings/WidgetSettings.jsx b/src/pages/Dashboard/Settings/WidgetSettings/WidgetSettings.jsx index f2d43b91..0210904f 100644 --- a/src/pages/Dashboard/Settings/WidgetSettings/WidgetSettings.jsx +++ b/src/pages/Dashboard/Settings/WidgetSettings/WidgetSettings.jsx @@ -537,7 +537,7 @@ const WidgetSettings = ({ setDirtyStatus, tabKey }) => { name="font" required label={t(`${localePath}.font`)} - initialValue={widgetFontCollection[0]} + initialValue={widgetFontCollection[0]?.value ?? 'Roboto'} data-cy="widget-settings-font">