diff --git a/backend/src/handlers/vans.py b/backend/src/handlers/vans.py index 10514b20..04bcb1b8 100644 --- a/backend/src/handlers/vans.py +++ b/backend/src/handlers/vans.py @@ -181,7 +181,14 @@ async def subscribe_vans(websocket: WebSocket) -> None: include_set = process_include(msg.include, INCLUDES_V2) now = datetime.now(timezone.utc) with websocket.app.state.db.session() as session: - resp: Dict[str, Union[str, Dict[str, Union[float, str, bool, int, dict[str, float]]], List[Dict[str, Union[float, str, bool, int, dict[str, float]]]]]] = { + resp: Dict[ + str, + Union[ + str, + Dict[str, Union[float, str, bool, int, dict[str, float]]], + List[Dict[str, Union[float, str, bool, int, dict[str, float]]]], + ], + ] = { FIELD_TYPE: msg.query.type, } if msg.query.type == FIELD_VAN: diff --git a/frontend/src/features/landing/LandingScreen.tsx b/frontend/src/features/landing/LandingScreen.tsx index ba632b01..a4bbcf98 100644 --- a/frontend/src/features/landing/LandingScreen.tsx +++ b/frontend/src/features/landing/LandingScreen.tsx @@ -18,7 +18,7 @@ export const LandingScreen = ({ route, navigation, }: LandingScreenProps): React.JSX.Element => { - const { data: routes, isError, refetch, error } = useGetRoutesQuery(); + const { data: routes, isError, refetch } = useGetRoutesQuery(); function retry(): void { refetch().catch(console.error);