Skip to content

Commit 80cbb18

Browse files
fix(token-input): cast displayVal type for NumericFormat value prop
1 parent 394219f commit 80cbb18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/sharedComponents/BigNumberInput.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('BigNumberInput with renderInput (NumericFormat)', () => {
145145
<NumericFormat
146146
thousandSeparator
147147
onValueChange={({ value: v }) => handleChange(v)}
148-
value={displayVal}
148+
value={displayVal as string | undefined}
149149
{...restProps}
150150
/>
151151
)}

0 commit comments

Comments
 (0)