fix: variable chip label disappearing

This commit is contained in:
kasia.oczkowska
2024-11-08 08:20:33 +00:00
parent 1c8e6f278d
commit 9ae77ecd5d

View File

@@ -7,9 +7,9 @@ function Variable({ attributes, children, element, disabled }) {
const focused = useFocused(); const focused = useFocused();
const label = ( const label = (
<> <>
{children}
<span style={{ fontWeight: 500 }}>{element.name}</span>:{' '} <span style={{ fontWeight: 500 }}>{element.name}</span>:{' '}
<span style={{ fontWeight: 300 }}>{element.sampleValue}</span> <span style={{ fontWeight: 300 }}>{element.sampleValue}</span>
{children}
</> </>
); );
return ( return (