We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e32e56b commit 97411f6Copy full SHA for 97411f6
src/nextjournal/clerk/tap.clj
@@ -52,8 +52,8 @@
52
:transform-fn (fn [{:as wrapped-value :nextjournal/keys [value]}]
53
(-> wrapped-value
54
v/mark-preserve-keys
55
- (merge (v/->opts (v/ensure-wrapped (:val value)))) ;; preserve opts like ::clerk/width and ::clerk/css-class
56
- (assoc-in [:nextjournal/opts :id] (:key value)) ;; assign custom react key
+ (merge (v/->opts (v/ensure-wrapped (::val value)))) ;; preserve opts like ::clerk/width and ::clerk/css-class
+ (assoc-in [:nextjournal/opts :id] (::key value)) ;; assign custom react key
57
(update-in [:nextjournal/value ::tapped-at] inst->local-time-str)))})
58
59
0 commit comments