Relying on the change handler for AllGpxes and FPX import.
This commit is contained in:
1 parent
21a63ec54c
commit
c2d6f6f285
4 files changed
+57
-20
No files matched your search
@@ -9,7 +9,6 @@ import css from './GpxImport.module.css';
|
||||
import { findStartTime } from '../../lib/gpx';
|
||||
import dispatch from '../../workers/dispatcher-main';
|
||||
import { intToGpxId } from '../../lib/ids';
|
||||
import { refetchGpxList } from '../all-gpxes';
|
||||
|
||||
const GpxImport: Component = () => {
|
||||
const onChangeHandler = (event: any) => {
|
||||
@@ -41,7 +40,6 @@ const GpxImport: Component = () => {
|
||||
},
|
||||
},
|
||||
});
|
||||
refetchGpxList();
|
||||
} else {
|
||||
console.error({
|
||||
message: "can't parse GPX file",
|
||||
|
||||
Reference in new issue
Block a user