Remove unused state fields
This commit is contained in:
@@ -33,8 +33,7 @@
|
||||
"react/no-access-state-in-setstate": 0, // todo
|
||||
"react/jsx-closing-tag-location": 0, // todo
|
||||
"react/require-default-props": 0, // todo
|
||||
"react/jsx-no-target-blank": 0, // todo
|
||||
"react/no-unused-state": 0 // todo
|
||||
"react/jsx-no-target-blank": 0 // todo
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -26,7 +26,6 @@ class Breadcrumb extends React.Component {
|
||||
];
|
||||
|
||||
this.state = {
|
||||
step: null,
|
||||
steps,
|
||||
};
|
||||
}
|
||||
|
@@ -7,7 +7,6 @@ import PropTypes from 'prop-types';
|
||||
|
||||
class ListingTabs extends React.Component {
|
||||
state = {
|
||||
tab: null,
|
||||
tabs: Hooks.applyFilters('mailpoet_newsletters_listings_tabs', [
|
||||
{
|
||||
name: 'standard',
|
||||
|
@@ -64,7 +64,6 @@ class Congratulate extends React.Component {
|
||||
super(props);
|
||||
this.state = {
|
||||
loading: true,
|
||||
fail: false,
|
||||
newsletter: null,
|
||||
testingPassed: false,
|
||||
timeStart: moment(),
|
||||
|
Reference in New Issue
Block a user