Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codemaster115 committed Sep 19, 2023
1 parent 1c04301 commit 3d144e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/quo2/components/code/common/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
text-color))))]
(cond-> {:flex-shrink 1
:line-height 18}
preview? (assoc :color colors/white)
preview? (assoc :color colors/white)
text-color (assoc :color text-color))))

(defn border-color
Expand Down
2 changes: 1 addition & 1 deletion src/quo2/components/code/common/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
[{:keys [rows line-number-width preview?]}]
[rn/view
(->> preview?
(render-nodes ,, rows)
(render-nodes rows)
(map-indexed (fn [idx row-content]
[line
{:line-number (inc idx)
Expand Down

0 comments on commit 3d144e4

Please sign in to comment.