Skip to content

Commit

Permalink
fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
usavkov-epam committed Aug 15, 2023
1 parent dd3790f commit 2a933e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Settings/CategorySettings/CategorySettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ class CategorySettings extends Component {
delete: () => !hasEditPerms,
};

const ConnectedComponent = this.connectedControlledVocab;

return (
<this.connectedControlledVocab
<ConnectedComponent
actionSuppressor={actionSuppressor}
canCreate={hasEditPerms}
stripes={stripes}
Expand Down

0 comments on commit 2a933e4

Please sign in to comment.