- {!tag.errorDecrypting ? (
-
- {isSmartTagsEnabled && (
-
-
-
- )}
-
-
- {tag.isAllTag && tagsState.allNotesCount}
-
-
- ) : null}
- {!tag.isSystemSmartTag && (
-
- {tag.conflictOf && (
-
- Conflicted Copy {tag.conflictOf}
-
- )}
- {tag.errorDecrypting && !tag.waitingForKey && (
-
Missing Keys
- )}
- {tag.errorDecrypting && tag.waitingForKey && (
-
- Waiting For Keys
-
- )}
- {isSelected && (
-
- )}
-
- )}
-
- >
- );
- }
-);
diff --git a/app/assets/javascripts/components/Tags/SmartTagsSection.tsx b/app/assets/javascripts/components/Tags/SmartTagsSection.tsx
deleted file mode 100644
index d647ca6ef..000000000
--- a/app/assets/javascripts/components/Tags/SmartTagsSection.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { WebApplication } from '@/ui_models/application';
-import { AppState } from '@/ui_models/app_state';
-import { observer } from 'mobx-react-lite';
-import { FunctionComponent } from 'preact';
-import { SmartTagsList } from './SmartTagsList';
-
-type Props = {
- appState: AppState;
-};
-
-export const SmartTagsSection: FunctionComponent