diff --git a/src/renderer/src/components/TagEditor.tsx b/src/renderer/src/components/TagEditor.tsx index a7ef931a..baa6d55a 100644 --- a/src/renderer/src/components/TagEditor.tsx +++ b/src/renderer/src/components/TagEditor.tsx @@ -1,6 +1,6 @@ import { memo, useRef, useState, useMemo, useCallback, useEffect } from 'react'; import { useTranslation } from 'react-i18next'; -import { TextInput, TrashIcon, TickIcon, EditIcon, PlusIcon, Button, IconButton } from 'evergreen-ui'; +import { TextInput, TrashIcon, ResetIcon, TickIcon, EditIcon, PlusIcon, Button, IconButton } from 'evergreen-ui'; import invariant from 'tiny-invariant'; import { askForMetadataKey } from '../dialogs'; @@ -116,7 +116,7 @@ function TagEditor({ existingTags = emptyObject, customTags = emptyObject, editi {mergedTags[tag] ? String(mergedTags[tag]) : `<${t('empty')}>`} )} {(editingTag == null || editingThis) && onEditClick(tag)} intent={editingThis ? 'success' : 'none'} />} - {editingThis && } + {editingThis && } );