diff --git a/ui/src/components/Header/index.tsx b/ui/src/components/Header/index.tsx
index fb0cbb6..d7deb31 100644
--- a/ui/src/components/Header/index.tsx
+++ b/ui/src/components/Header/index.tsx
@@ -90,110 +90,13 @@ export default function Header() {
/>
-
- {user ? (
-
- ) : (
-
-
-
-
- )}
-
+
);
}
+
+interface UserSectionProps {
+ profilePicture: File | null;
+ setProfilePicture: (picture: File | null) => void;
+ toggle: (type: string) => void;
+ setFavorites: (favorites: string[]) => void;
+ refreshId: NodeJS.Timeout | undefined;
+}
+
+function UserSection({ profilePicture, setProfilePicture, setFavorites, refreshId, toggle }: UserSectionProps) {
+ const [user, setUser] = useRecoilState(userState);
+
+ return (
+
+ {user ? (
+
+ ) : (
+
+
+
+
+ )}
+
+ )
+}
diff --git a/ui/src/components/Metars/MapTiles.tsx b/ui/src/components/Metars/MapTiles.tsx
index 1e159d1..2563428 100644
--- a/ui/src/components/Metars/MapTiles.tsx
+++ b/ui/src/components/Metars/MapTiles.tsx
@@ -55,7 +55,7 @@ export default function MapTiles() {
},
order_field: AirportOrderField.CATEGORY,
order_by: 'asc',
- limit: 100,
+ limit: 250,
page: 1
});
const { data: metars } = await getMetars(airportData.map((a) => a.icao));