diff --git a/src/renderer/component/file-exporter.js b/src/renderer/component/file-exporter.js index 0754ed1a2..cb8e6eedc 100644 --- a/src/renderer/component/file-exporter.js +++ b/src/renderer/component/file-exporter.js @@ -12,7 +12,7 @@ class FileExporter extends React.PureComponent { data: PropTypes.array, type: PropTypes.oneOf(['json', 'csv']), title: PropTypes.string, - initPath: PropTypes.string, + defaultPath,: PropTypes.string, onFileCreated: PropTypes.func, }; @@ -22,7 +22,6 @@ class FileExporter extends React.PureComponent { constructor(props) { super(props); - this._inputElem = null; } componentWillMount() { diff --git a/src/renderer/component/transactionList/view.jsx b/src/renderer/component/transactionList/view.jsx index 6824dd3f4..ed6b0f283 100644 --- a/src/renderer/component/transactionList/view.jsx +++ b/src/renderer/component/transactionList/view.jsx @@ -2,7 +2,7 @@ import React from 'react'; import TransactionListItem from './internal/TransactionListItem'; import FormField from 'component/formField'; import Link from 'component/link'; -//import FileExporter from 'component/file-exporter.js'; +import FileExporter from 'component/file-exporter.js'; import * as icons from 'constants/icons'; import * as modals from 'constants/modal_types'; @@ -44,6 +44,7 @@ class TransactionList extends React.PureComponent { return (