diff --git a/public/files/js/plugins/defaultTaghelper/views.tsx b/public/files/js/plugins/defaultTaghelper/views.tsx
index d0adcf0e89..c3bd9bbec2 100644
--- a/public/files/js/plugins/defaultTaghelper/views.tsx
+++ b/public/files/js/plugins/defaultTaghelper/views.tsx
@@ -222,22 +222,20 @@ export function init(
);
};
- // -------------------------------------------
-
- const tagsetTabs = pipe(
- deps,
- List.map(
- ([tagset,,]) => ({
- id: tagset,
- label: tagset
- })
- )
- );
-
// ---------------- -----------------------------------
const ActiveTagBuilder:React.FC = (props) => {
+ const tagsetTabs = pipe(
+ deps,
+ List.map(
+ ([tagset,,]) => ({
+ id: tagset,
+ label: tagset
+ })
+ )
+ );
+
const handleTabSelection = (tagsetId:string) => {
dispatcher.dispatch({
name: Actions.SetActiveTag.name,