Skip to content

Commit 67bf0db

Browse files
committed
Remove length constraint on default ID
1 parent 1048f21 commit 67bf0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/CheckboxTree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class CheckboxTree extends React.Component {
9292
});
9393

9494
this.state = {
95-
id: props.id || `rct-${nanoid(7)}`,
95+
id: props.id || `rct-${nanoid()}`,
9696
model,
9797
prevProps: props,
9898
};

0 commit comments

Comments
 (0)