[front/fix] typo

This commit is contained in:
SouthFox 2023-09-20 20:07:25 +08:00
parent 73d9a21353
commit 0006e788d3

View file

@ -105,14 +105,15 @@
(let [id (get-in db [:current-route :path-params :id]) (let [id (get-in db [:current-route :path-params :id])
type (get-in db [:current-route :data :name]) type (get-in db [:current-route :data :name])
title (get-in body [:question :title]) title (get-in body [:question :title])
detil (get-in body [:question :detail])] detail (get-in body [:question :detail])]
{:db (-> db {:db (-> db
(assoc-in [:loading :question] false) (assoc-in [:loading :question] false)
(assoc-in [:post] body)) (assoc-in [:post] body))
:dispatch [:set-history {:id id :dispatch [:set-history {:id id
:type type :type type
:title title :title title
:detil detil}]}))) :detail detail
:page 1}]})))
(reg-event-db (reg-event-db
:get-question-failure :get-question-failure