17 lines
437 B
TypeScript
17 lines
437 B
TypeScript
|
import { Component } from 'solid-js';
|
||
|
import cache from '../../lib/cache';
|
||
|
import Tree from '../tree';
|
||
|
|
||
|
interface Props {
|
||
|
gpxId: string;
|
||
|
}
|
||
|
|
||
|
const GpxViewer: Component<Props> = ({ gpxId }) => {
|
||
|
const gpx = cache.get({ cacheId: 'signals', key: gpxId });
|
||
|
console.log({ caller: 'GpxViewer', gpx: gpx() });
|
||
|
const title = () => {};
|
||
|
return <Tree title={'gpx'} content={undefined} subTree={undefined} />;
|
||
|
};
|
||
|
|
||
|
export default GpxViewer;
|