Skip to content

Commit 8ba7220

Browse files
Update src/index.tsx
Co-authored-by: Ugo Onali <ugo.j.onali@gmail.com>
1 parent 3d049da commit 8ba7220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ const ReactInputVerificationCode = ({
212212
i === activeIndex ? 'is-active' : ''
213213
}`}
214214
onFocus={onItemFocus(i)}
215-
data-cy={`${dataCy}-item`}
215+
data-cy={`${dataCy}-${i}-item`}
216216
>
217217
{value[i] || placeholder}
218218
</Item>

0 commit comments

Comments
 (0)