Addind a few @ts-ignore :( ...
This commit is contained in:
1 parent
0f9b66b0d4
commit
d0bc9422f3
2 files changed
+3
-12
No files matched your search
@@ -2,6 +2,7 @@ import { Component } from 'solid-js';
|
||||
|
||||
import CloudUploadIcon from '@suid/icons-material/CloudUpload';
|
||||
|
||||
// @ts-ignore
|
||||
import GPX from '../../lib/gpx-parser-builder/src/gpx';
|
||||
|
||||
import css from './GpxImport.module.css';
|
||||
@@ -38,16 +39,6 @@ const GpxImport: Component = () => {
|
||||
},
|
||||
},
|
||||
});
|
||||
// pushGpx(db, {
|
||||
// gpx,
|
||||
// metadata: {
|
||||
// lastModified: new Date(file.lastModified).toISOString(),
|
||||
// importDate: new Date().toISOString(),
|
||||
// name: file.name,
|
||||
// size: file.size,
|
||||
// type: file.type,
|
||||
// },
|
||||
// });
|
||||
},
|
||||
false
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user