From 0006e788d3c6493a2a760b00887e684857deccbe Mon Sep 17 00:00:00 2001 From: SouthFox Date: Wed, 20 Sep 2023 20:07:25 +0800 Subject: [PATCH] [front/fix] typo --- src/main/frontend/events.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/frontend/events.cljs b/src/main/frontend/events.cljs index f7596fa..4b4b2e7 100644 --- a/src/main/frontend/events.cljs +++ b/src/main/frontend/events.cljs @@ -105,14 +105,15 @@ (let [id (get-in db [:current-route :path-params :id]) type (get-in db [:current-route :data :name]) title (get-in body [:question :title]) - detil (get-in body [:question :detail])] + detail (get-in body [:question :detail])] {:db (-> db (assoc-in [:loading :question] false) (assoc-in [:post] body)) :dispatch [:set-history {:id id :type type :title title - :detil detil}]}))) + :detail detail + :page 1}]}))) (reg-event-db :get-question-failure