Skip to content
Snippets Groups Projects
Commit 9ee78194 authored by Julia Friesel's avatar Julia Friesel
Browse files

Rename methods

parent 227aa696
No related branches found
No related tags found
No related merge requests found
...@@ -16,16 +16,15 @@ export default class DataManagement extends Component { ...@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment