Cleanup
This commit is contained in:
@@ -107,6 +107,7 @@ function App() {
|
||||
]}
|
||||
scrollWheelZoom={true}
|
||||
zoomControl={false}
|
||||
markerZoomAnimation={false}
|
||||
>
|
||||
<AirportDrawer airport={airport} setAirport={setAirport} />
|
||||
<LayersControl>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user