From ca7b9f32e88ee95f4cd294a3f357fb9a0709bcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Gu=CC=88ell=20Segarra?= Date: Tue, 9 Jul 2024 10:18:05 +0200 Subject: [PATCH] fix: types --- src/widgets/custom/Indicator.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/widgets/custom/Indicator.tsx b/src/widgets/custom/Indicator.tsx index 9bc2d5268..3013ca556 100644 --- a/src/widgets/custom/Indicator.tsx +++ b/src/widgets/custom/Indicator.tsx @@ -90,8 +90,9 @@ const GraphIndicatorInput = (props: IndicatorInputProps) => { const { ooui } = props; const { actionId } = ooui; - const { actionData, treeShortcut, loading, error } = - useFormGraphData(actionId); + const { actionData, treeShortcut, loading, error } = useFormGraphData( + actionId!, + ); const readForViewEnabled = useFeatureIsEnabled( ErpFeatureKeys.FEATURE_READFORVIEW, );