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