This commit is contained in:
2025-05-23 09:20:08 -04:00
parent ed98140d22
commit 6ad2afe6dd
16 changed files with 5180 additions and 177 deletions

View File

@@ -107,6 +107,7 @@ function App() {
]}
scrollWheelZoom={true}
zoomControl={false}
markerZoomAnimation={false}
>
<AirportDrawer airport={airport} setAirport={setAirport} />
<LayersControl>

View File

@@ -22,8 +22,8 @@ export default function AirportLayer({
const debouncedLoad = useRef(
debounce(async (map: any) => {
const bounds = map.getBounds();
const ne = bounds.getNorthEast()
const sw = bounds.getSouthWest()
const ne = bounds.getNorthEast();
const sw = bounds.getSouthWest();
lastBoundsRef.current = { ne, sw };
try {

View File

@@ -202,7 +202,12 @@ export function HeaderModal({ type, toggle, login, register }: HeaderModalProps)
}
})}
>
<TextInput label='Username' placeholder='Your username' required {...loginForm.getInputProps('username')} />
<TextInput
label='Username'
placeholder='Your username'
required
{...loginForm.getInputProps('username')}
/>
<PasswordInput
label='Password'
placeholder='Your password'