Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 59a5d41

Browse files
authored
fix(gui): deletion of all annotations when user selects API file in import dialog (#818)
fix(gui): deletion of all annotations when user selected API file in import dialog
1 parent 03762e7 commit 59a5d41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

api-editor/gui/src/features/packageData/PackageDataImportDialog.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ export const PackageDataImportDialog: React.FC = function () {
7979
reader.onload = () => {
8080
if (typeof reader.result === 'string') {
8181
setNewPythonPackageString(reader.result);
82-
dispatch(resetAnnotationStore());
8382
}
8483
};
8584
reader.readAsText(acceptedFiles[0]);

0 commit comments

Comments
 (0)