Skip to content

Commit 5f7e158

Browse files
committed
removed unnecesary fragment
1 parent 0d5fb1a commit 5f7e158

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

src/TextInputMask.tsx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,18 @@ function TextInputWithMask(
7474
}, [value])
7575

7676
return (
77-
<>
78-
<TextInput
79-
ref={ref}
80-
{...rest}
81-
disabled={disabled}
82-
value={controlledValue}
83-
onChangeText={onInnerChange}
84-
onChange={(e) => {
85-
onChange && onChange(e)
86-
}}
87-
maxLength={10}
88-
right={inputButton}
89-
/>
90-
</>
77+
<TextInput
78+
ref={ref}
79+
{...rest}
80+
disabled={disabled}
81+
value={controlledValue}
82+
onChangeText={onInnerChange}
83+
onChange={(e) => {
84+
onChange && onChange(e)
85+
}}
86+
maxLength={10}
87+
right={inputButton}
88+
/>
9189
)
9290
}
9391

0 commit comments

Comments
 (0)