Minor refactoring on ImportServersBtn

This commit is contained in:
Alejandro Celaya
2018-08-23 15:33:05 +02:00
parent 3df5fd12d3
commit da1616542d
2 changed files with 16 additions and 12 deletions

View File

@@ -1,4 +1,9 @@
import csvjson from 'csvjson';
import PropTypes from 'prop-types';
export const serversImporterType = PropTypes.shape({
importServersFromFile: PropTypes.func,
});
export class ServersImporter {
constructor(csvjson) {