Commit 85d9e428 authored by Joachim Schunk's avatar Joachim Schunk
Browse files


parent 1b15b2d2
Pipeline #106454 passed with stages
in 2 minutes and 42 seconds
......@@ -12,9 +12,6 @@
[build-latex-string calc-change-fn]]
[leukipp.components.exercise-types.calculation.views.common :refer [convert-unit-list]]
[leukipp.components.exercise-types.migrate :as migration]
......@@ -32,10 +29,6 @@
(if with-units (assoc base-object :units [])
(defn fresh-answer-obj [calculation-ids with-units]
{:calculations (reduce (fn [res id] (assoc res id (get-new-calculation with-units))) {} calculation-ids)
:answer-scheme {:type "calculation" :version answer-scheme-version}})
(defn calculation-renderer [{:keys [exercise calculation path result answer do-render modal-state-atom]}]
(let [id (:id calculation)
name (:name calculation)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment