From f942f8df78a97d302d4ccca8a87e8a410f845dbe Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>
Date: Mon, 9 Sep 2024 18:56:46 +0200
Subject: Add recent stop list

---
 src/pages/Stop.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/pages/Stop.tsx')

diff --git a/src/pages/Stop.tsx b/src/pages/Stop.tsx
index 4fa68cf..feb11b4 100644
--- a/src/pages/Stop.tsx
+++ b/src/pages/Stop.tsx
@@ -32,6 +32,8 @@ export function Stop(): JSX.Element {
 	useEffect(() => {
 		loadData();
 
+		sdp.pushRecent(parseInt(params.stopId ?? ""));
+
 		setFavourited(
 			sdp.isFavourite(parseInt(params.stopId ?? ""))
 		);
-- 
cgit v1.3

