mirror of
https://github.com/theoludwig/react-component-form.git
synced 2024-07-17 07:30:13 +02:00
style(example): fix linting
This commit is contained in:
parent
0819304e1e
commit
ce884c354d
@ -24,7 +24,7 @@ export const Input: React.FC<InputProps> = (props) => {
|
||||
{...rest}
|
||||
id={name}
|
||||
name={name}
|
||||
data-cy={`input-${name}`}
|
||||
data-cy={`input-${name ?? 'name'}`}
|
||||
/>
|
||||
<FormState
|
||||
id={`error-${name ?? 'input'}`}
|
||||
|
Loading…
Reference in New Issue
Block a user