From 2a933e4f562ab7f0eda1d3adba9dd9e8c66fbe14 Mon Sep 17 00:00:00 2001 From: Yury Saukou Date: Tue, 15 Aug 2023 14:44:20 +0400 Subject: [PATCH] fix code smell --- src/Settings/CategorySettings/CategorySettings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Settings/CategorySettings/CategorySettings.js b/src/Settings/CategorySettings/CategorySettings.js index ff59fb30..b6ca4dd1 100644 --- a/src/Settings/CategorySettings/CategorySettings.js +++ b/src/Settings/CategorySettings/CategorySettings.js @@ -24,8 +24,10 @@ class CategorySettings extends Component { delete: () => !hasEditPerms, }; + const ConnectedComponent = this.connectedControlledVocab; + return ( -