Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Input/InputTextBase/InputTextBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
floatLabel = false,
placeholder,
...otherProps
}) => {

Check warning on line 66 in src/components/Input/InputTextBase/InputTextBase.tsx

View workflow job for this annotation

GitHub Actions / lint

Arrow function has a complexity of 21. Maximum allowed is 20
const styles = useStyles()
const inputRef = useRef<TextInput>(null)

Expand Down Expand Up @@ -248,8 +248,6 @@
</>
) : (
<View style={styles.inputContainer}>
{input}

<Text
pointerEvents='none'
style={[
Expand All @@ -265,6 +263,8 @@
>
{placeholder}
</Text>

{input}
</View>
)}

Expand Down
Loading