From 4d9b908c1df4a282d359529b8a33555c02b8b62b Mon Sep 17 00:00:00 2001 From: SouthFox Date: Fri, 8 Sep 2023 21:18:39 +0800 Subject: [PATCH] [perf] /item/:id -> /hp/:id --- src/main/frontend/router.cljs | 2 +- src/main/frontend/views.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/frontend/router.cljs b/src/main/frontend/router.cljs index 9deae04..a3c38c1 100644 --- a/src/main/frontend/router.cljs +++ b/src/main/frontend/router.cljs @@ -15,7 +15,7 @@ {:name :about :view frontend.views/about-page :link-text "About"}] - ["item/:id" + ["hp/:id" {:name :item :view frontend.views/item-page :link-text "Item" diff --git a/src/main/frontend/views.cljs b/src/main/frontend/views.cljs index 51350ee..34b2798 100644 --- a/src/main/frontend/views.cljs +++ b/src/main/frontend/views.cljs @@ -10,7 +10,7 @@ {:type "button" :on-click #(rfe/push-state :item {:id id}) :class "btn btn-blue"} - "Item " id] + "Post " id] [:br]])