diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-09-09 18:56:46 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-09-09 18:56:46 +0200 |
| commit | f942f8df78a97d302d4ccca8a87e8a410f845dbe (patch) | |
| tree | 1de4a26cc9ce71f79de054f6b3ec875be487f8bb /src/pages/Stop.tsx | |
| parent | 9925249bf489ae960189f6daabe59263d1620c89 (diff) | |
Add recent stop list
Diffstat (limited to 'src/pages/Stop.tsx')
| -rw-r--r-- | src/pages/Stop.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
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 ?? "")) ); |
