style(example): fix linting

This commit is contained in:
Divlo 2022-08-26 23:50:28 +02:00
parent 0819304e1e
commit ce884c354d
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -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'}`}