Rename methods

This commit is contained in:
Julia Friesel
2019-05-06 08:37:26 +02:00
parent 227aa69677
commit 9ee7819462
+3 -4
View File
@@ -16,16 +16,15 @@ export default class DataManagement extends Component {
this.state = { isLoading: false } this.state = { isLoading: false }
} }
onStartLoading = () => { startLoading = () => {
this.setState({ isLoading: true }) this.setState({ isLoading: true })
} }
onEndLoading = () => { endLoading = () => {
this.setState({ isLoading: false }) this.setState({ isLoading: false })
} }
onImportData = async (shouldDeleteExistingData) => { startImportFlow = async (shouldDeleteExistingData) => {
try { try {
this.onStartLoading() this.onStartLoading()
const fileContent = await getFileContent() const fileContent = await getFileContent()