Relying on the change handler for AllGpxes and FPX import.

This commit is contained in:
vdv committed 2022-12-09 14:57:54 +01:00
1 parent 21a63ec54c
commit c2d6f6f285
4 files changed
+57 -20

No files matched your search

-2
View File
@@ -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",