Rename methods
This commit is contained in:
1 parent
227aa69677
commit
9ee7819462
1 file changed
+3
-4
@@ -16,16 +16,15 @@ export default class DataManagement extends Component {
|
||||
this.state = { isLoading: false }
|
||||
}
|
||||
|
||||
onStartLoading = () => {
|
||||
startLoading = () => {
|
||||
this.setState({ isLoading: true })
|
||||
}
|
||||
|
||||
onEndLoading = () => {
|
||||
endLoading = () => {
|
||||
this.setState({ isLoading: false })
|
||||
}
|
||||
|
||||
onImportData = async (shouldDeleteExistingData) => {
|
||||
|
||||
startImportFlow = async (shouldDeleteExistingData) => {
|
||||
try {
|
||||
this.onStartLoading()
|
||||
const fileContent = await getFileContent()
|
||||
|
||||
Reference in new issue
Block a user