Addind a few @ts-ignore :( ...

This commit is contained in:
Eric van der Vlist 2022-11-27 12:29:30 +01:00
parent 0f9b66b0d4
commit d0bc9422f3
2 changed files with 3 additions and 12 deletions

View File

@ -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
);

View File

@ -17,7 +17,7 @@ import 'ol/ol.css';
import './Map.css';
import { Collection } from 'ol';
import { Point } from 'ol/geom';
import { Circle, Fill, Stroke, Style, Icon } from 'ol/style';
import { Style, Icon } from 'ol/style';
import GetLocation, { getCurrentLocation } from '../get-location';
import ShowLocationIcon from '../get-location/ShowLocationIcon.svg';
import { Back, Forward } from '../back-forward';
@ -177,8 +177,8 @@ const Map: Component = () => {
setMap(olMap);
});
// @ts-ignore
return (
// @ts-ignore
<div class='ol-map' ref={target}>
<GetLocation />
<Forward />