Skip to content

Commit e4d0f09

Browse files
committed
fixup: don't revert collection name on blur when invalid
1 parent 19ca3c9 commit e4d0f09

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/compass-data-modeling/src/components/drawer/collection-drawer-content.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ const CollectionDrawerContent: React.FunctionComponent<
140140

141141
if (!isCollectionNameValid) {
142142
// Reset to previous valid name.
143-
// TODO: Maybe we don't reset.
144-
setCollectionName(toNS(namespace).collection);
145143
return;
146144
}
147145

0 commit comments

Comments
 (0)