Skip to content

TagSpaces is an offline, open source, document manager with tagging support

resetting the editgeotagcontainer

Ilian Sapundshiev33b68910cf89
diff --git a/app/components/dialogs/EditEntryTagDialog.js b/app/components/dialogs/EditEntryTagDialog.js
index d3b66d275..09ff5482c 100644
--- a/app/components/dialogs/EditEntryTagDialog.js
+++ b/app/components/dialogs/EditEntryTagDialog.js
@@ -90,7 +90,7 @@ const EditEntryTagDialog = (props: Props) => {
const showGeoEditor = Pro && Pro.UI && Pro.UI.EditGeoTagContainer && isPlusCode(title);
return (
<DialogContent data-tid="editEntryTagDialog" className={props.classes.root}>
- { showGeoEditor && <Pro.UI.EditGeoTagContainer geoTag={title} onChange={setTitle} /> }
+ { showGeoEditor && <Pro.UI.EditGeoTagContainer key={title} geoTag={title} onChange={setTitle} /> }
<FormControl
fullWidth={true}
error={errorTag}