Skip to content

Commit a59b5bb

Browse files
authored
fix(drop-ui): clear drop collections input state if drop collections success COMPASS-7035 (#4663)
fix: clear drop collections input state if success
1 parent d3b4d3a commit a59b5bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/databases-collections/src/components/drop-collection-modal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function DropCollectionModal({
5454
const onFormSubmit = useCallback(() => {
5555
if (name === nameConfirmation) {
5656
dropCollection();
57+
changeCollectionNameConfirmation('');
5758
}
5859
}, [name, nameConfirmation, dropCollection]);
5960

0 commit comments

Comments
 (0)