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

Commit

Permalink
all: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
OxygenCobalt committed Mar 24, 2024
1 parent 780a39f commit 945cb33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion backend/src/handlers/vans.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/features/landing/LandingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 945cb33

Please sign in to comment.