fix code style issues
This commit is contained in:
committed by
pavel-mailpoet
parent
8603e2a96a
commit
0da2be21c8
@@ -1,4 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import MailPoet from 'mailpoet';
|
||||||
|
|
||||||
class Loading extends React.Component {
|
class Loading extends React.Component {
|
||||||
componentWillMount() {
|
componentWillMount() {
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import _ from 'underscore';
|
|
||||||
import MailPoet from 'mailpoet';
|
import MailPoet from 'mailpoet';
|
||||||
import { confirmAlert } from 'react-confirm-alert';
|
|
||||||
import Breadcrumb from 'newsletters/breadcrumb.jsx';
|
import Breadcrumb from 'newsletters/breadcrumb.jsx';
|
||||||
import HelpTooltip from 'help-tooltip.jsx';
|
|
||||||
import Loading from 'common/loading.jsx';
|
import Loading from 'common/loading.jsx';
|
||||||
import Tabs from 'newsletters/templates/tabs.jsx';
|
import Tabs from 'newsletters/templates/tabs.jsx';
|
||||||
import TemplateBox from 'newsletters/templates/template_box.jsx';
|
import TemplateBox from 'newsletters/templates/template_box.jsx';
|
||||||
|
@@ -10,7 +10,7 @@ class ImportTemplate extends React.Component {
|
|||||||
|
|
||||||
saveTemplate(saveTemplate) {
|
saveTemplate(saveTemplate) {
|
||||||
const template = saveTemplate;
|
const template = saveTemplate;
|
||||||
const {beforeImport, afterImport} = this.props;
|
const { beforeImport, afterImport } = this.props;
|
||||||
|
|
||||||
// Stringify to enable transmission of primitive non-string value types
|
// Stringify to enable transmission of primitive non-string value types
|
||||||
if (!_.isUndefined(template.body)) {
|
if (!_.isUndefined(template.body)) {
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import _ from 'underscore';
|
||||||
import MailPoet from 'mailpoet';
|
import MailPoet from 'mailpoet';
|
||||||
import { confirmAlert } from 'react-confirm-alert';
|
import { confirmAlert } from 'react-confirm-alert';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user