Is there a way to get a previous dynamic route in app directory? - Theo's Typesafe Cult