[front/fix] typo
This commit is contained in:
parent
73d9a21353
commit
0006e788d3
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue