diff --git a/src/renderer/component/file-exporter.js b/src/renderer/component/file-exporter.js index 21e26e07e..703d565ab 100644 --- a/src/renderer/component/file-exporter.js +++ b/src/renderer/component/file-exporter.js @@ -10,17 +10,12 @@ const { remote } = require('electron'); class FileExporter extends React.PureComponent { static propTypes = { data: PropTypes.array, - type: PropTypes.oneOf(['json', 'csv']), title: PropTypes.string, label: PropTypes.string, defaultPath: PropTypes.string, onFileCreated: PropTypes.func, }; - static defaultProps = { - type: 'json', - }; - constructor(props) { super(props); }