We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421bdb4 commit 111948bCopy full SHA for 111948b
packages/client/src/v2-events/features/events/registered-fields/NumberWithUnit.tsx
@@ -71,11 +71,11 @@ function NumberWithUnitInput({
71
72
export const NumberWithUnit = {
73
Input: NumberWithUnitInput,
74
- Output: ({ value }: { value?: NumberWithUnitFieldValue }) => {
75
- if (value?.numericValue === undefined || value?.unit === undefined) {
+ Output: ({ value }: { value?: NumberWithUnitFieldUpdateValue }) => {
+ if (value?.numericValue === undefined || value.unit === undefined) {
76
return null
77
}
78
79
- return <>{`${value.numericValue} ${value.unit}` || ''}</>
+ return <>{`${value.numericValue} ${value.unit}`}</>
80
81
0 commit comments