diff --git a/ivette/src/renderer/Properties.tsx b/ivette/src/renderer/Properties.tsx index 77a29ae3b49df934017163acc90e704413550835..a96b7609deda6933d83d3f97bdb4bc8973d0cbe6 100644 --- a/ivette/src/renderer/Properties.tsx +++ b/ivette/src/renderer/Properties.tsx @@ -107,10 +107,8 @@ const RenderTable = () => { const onPropertySelection = React.useCallback( ({ key, function: fct }: Property) => { - if (fct) { - const location = { function: fct, marker: key }; - updateSelection({ location }); - } + const location = { function: (fct as string), marker: key }; + updateSelection({ location }); }, [updateSelection], );