Skip to content

Commit c443795

Browse files
Removed some unecessary variables
1 parent 6df9a0e commit c443795

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/client/entity-editor/author-credit-editor/author-credit-section.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,8 @@ AuthorCreditSection.defaultProps = {
211211
function mapStateToProps(rootState, {type}): StateProps {
212212
const entitySection = `${camelCase(type)}Section`;
213213
const authorCreditEnable = rootState.getIn([entitySection, 'authorCreditEnable']) ?? true;
214-
const authorCreditState = rootState.get('authorCreditEditor');
215214
const showEditor = rootState.getIn([entitySection, 'authorCreditEditorVisible']);
216215

217-
const authorCreditRow = authorCreditState.first();
218-
219216
return {
220217
authorCreditEditor: rootState.get('authorCreditEditor'),
221218
authorCreditEnable,

0 commit comments

Comments
 (0)