clj-commons / secretary

A client-side router for ClojureScript.
773 stars 64 forks source link

Can't define a route with query parameters. #109

Open crimsonhawk47 opened 1 year ago

crimsonhawk47 commented 1 year ago

I receive this error in the javascript console (picture attached).

(defroute "/details/:id" {:as params}
  (render-details-page (:id params)))

image

This error happens even if I just take out the (:id params) part and just render a random component.