We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c641d8 commit fc06a39Copy full SHA for fc06a39
src/index.tsx
@@ -97,7 +97,7 @@ export default ({ length = 4, placeholder = '·' }) => {
97
// @to-do: find which type to use
98
// to make it compatible with dataset
99
// @ts-ignore
100
- path.dataset.reactInputVerificationCodeId === CONTAINER_DATA_ID,
+ path.dataset?.reactInputVerificationCodeId === CONTAINER_DATA_ID,
101
false
102
);
103
0 commit comments