Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
vincemtnz committed Apr 16, 2018
1 parent 93bce67 commit 9dc245f
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions app/javascript/components/EmailEditor/EmailEditor.js
@@ -1,19 +1,13 @@
// @flow weak
// @flow
import React, { Component } from 'react';
import Input from '../SweetInput/SweetInput';
import FormGroup from '../Form/FormGroup';
import ErrorMessages from '../ErrorMessages';
import { FormattedMessage } from 'react-intl';
import { compact, debounce, get, template, isEqual, isEqualWith } from 'lodash';
import { compact, debounce, template, isEqual } from 'lodash';
import classnames from 'classnames';
import type { ErrorMap } from '../../util/ChampaignClient/Base';
import {
ContentState,
CompositeDecorator,
convertFromHTML,
Editor,
EditorState,
} from 'draft-js';
import { Editor, EditorState } from 'draft-js';
import { stateFromHTML } from 'draft-js-import-html';
import { stateToHTML } from 'draft-js-export-html';
import './EmailEditor.scss';
Expand Down Expand Up @@ -54,7 +48,6 @@ export default class EmailEditor extends Component {
}

static getDerivedStateFromProps(props: Props, state?: State): State {
console.log('getDerivedStateFromProps:');
return {
subject: interpolateVars(props.subject, props.templateVars),
header: interpolateVars(props.header, props.templateVars),
Expand Down

0 comments on commit 9dc245f

Please sign in to comment.