We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df9a0e commit c443795Copy full SHA for c443795
src/client/entity-editor/author-credit-editor/author-credit-section.tsx
@@ -211,11 +211,8 @@ AuthorCreditSection.defaultProps = {
211
function mapStateToProps(rootState, {type}): StateProps {
212
const entitySection = `${camelCase(type)}Section`;
213
const authorCreditEnable = rootState.getIn([entitySection, 'authorCreditEnable']) ?? true;
214
- const authorCreditState = rootState.get('authorCreditEditor');
215
const showEditor = rootState.getIn([entitySection, 'authorCreditEditorVisible']);
216
217
- const authorCreditRow = authorCreditState.first();
218
-
219
return {
220
authorCreditEditor: rootState.get('authorCreditEditor'),
221
authorCreditEnable,
0 commit comments