Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Mar 22, 2024
1 parent 7ac55fb commit 7d3b722
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ export default function AddWarningIconWhenInvalidRange() {
onError={setError}
slotProps={{
textField: (ownerState) => ({
InputProps: {
endAdornment: (
<CustomInputAdornment
position="end"
hasError={!!error[ownerState.position === 'start' ? 0 : 1]}
/>
),
},
InputProps: {
endAdornment: (
<CustomInputAdornment
position="end"
hasError={!!error[ownerState.position === 'start' ? 0 : 1]}
/>
),
},
}),
}}
/>
Expand Down

0 comments on commit 7d3b722

Please sign in to comment.