From f5b2c32de5182e833670cf6404a8f8ce77724002 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Sat, 26 Aug 2023 23:06:10 +0800 Subject: [PATCH] [fix] missing id map --- src/main/frontend/views.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/frontend/views.cljs b/src/main/frontend/views.cljs index 131ea64..acccffd 100644 --- a/src/main/frontend/views.cljs +++ b/src/main/frontend/views.cljs @@ -8,7 +8,7 @@ [:div [:button {:type "button" - :on-click #(rfe/push-state id) + :on-click #(rfe/push-state :item {:id id}) :class "btn btn-blue"} "Item " id] [:br]]) @@ -19,8 +19,7 @@ [:h2 "Try this!"] (button 385214753) (button 96817849) - (button 24425284) - ]) + (button 24425284)]) (defn about-page []