Skip to content

Commit f87dc3a

Browse files
committed
Clear out name after creating it
1 parent 241f27d commit f87dc3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/reactComponents/AddTabDialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export default function AddTabDialog(props: AddTabDialogProps) {
117117
title: newModule.className,
118118
type: tabType,
119119
};
120+
setNewItemName('');
120121
props.onOk(newTab);
121122
}
122123
};

0 commit comments

Comments
 (0)