notedeck : refactor: use map instead of explicit `if let`

We also use last instead of first, because the last route should be the

active one.

Signed-off-by: William Casarin

https://github.com/damus-io/notedeck/commit/a9a07b38052a6d6ac2915aa4a6eb3948e4553e56

Reply to this note

Please Login to reply.

Discussion

No replies yet.