Skip to content

Commit

Permalink
jsx <3
Browse files Browse the repository at this point in the history
  • Loading branch information
bjerrecs committed Apr 15, 2024
1 parent d0efa02 commit fc351f2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/NewMap.tsx → src/components/NewMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ import * as maptilersdk from '@maptiler/sdk';
import "@maptiler/sdk/dist/maptiler-sdk.css";
import './map.css';

interface PropOptions {
airport: object;
id: string;
}

export default function Map(props: PropOptions) {
export default function Map(props) {
const mapContainer = useRef(null);
const map = useRef(null);
var airport = { lng: 12.648131871581867, lat: 55.62513369975767};
Expand Down

0 comments on commit fc351f2

Please sign in to comment.