Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thansen committed Oct 5, 2023
1 parent 2b1362b commit 6749241
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion frontend/src/Components/Map/MapWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const MapWrapper = (props: any) => {
position="bottomright"
maxWidth={scaleWidth}
/>
;{children}
{children}
</MapContainer>
);
};
Expand Down
10 changes: 0 additions & 10 deletions frontend/src/Components/Map/Search.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Copied from README... in progress!!

import React, { useState } from 'react';

import {
Expand All @@ -9,14 +7,6 @@ import {
import '@geoapify/geocoder-autocomplete/styles/minimal.css';
import '../../css/search.css';

//import fetch from 'node-fetch'; // npm install node-fetch
// v

// const response = await fetch(https://api.geoapify.com/v1/geocode/autocomplete?text=YOUR_TEXT&format=json&apiKey=YOUR_API_KEY);
// const data = await response.json();

// console.log(data);

interface Props {
/**
* value: text input in the search bar
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/css/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
}

.leaflet-container {
height: 115%;
height: 100%;
}

.map-zoom {
position: absolute;
right: 55px;
z-index: calc(var(--navbar-z-index) - 4);
z-index: calc(var(--navbar-z-index) - 2);
color: var(--background);
font-family: 'Noto Sans JP', sans-serif;
font-size: 2em;
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/pages/Conditions.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import ConditionsMap from '../Components/Conditions/ConditionsMap';

// search & filtering implemented here!

const Conditions = () => {
return (
<div style={{ height: '95%' }}>
Expand Down

0 comments on commit 6749241

Please sign in to comment.