🔧 Fix rust linter errors

This commit is contained in:
Alejandro Alonso 2026-04-24 09:52:51 +02:00
parent 7532bf411c
commit 078663b0fa
2 changed files with 4 additions and 4 deletions

View File

@ -776,12 +776,12 @@
(mf/defc mcp-menu*
{::mf/private true}
[{:keys [on-close]}]
(let [plugins? (features/active-feature? @st/state "plugins/runtime")
(let [plugins? (features/active-feature? @st/state "plugins/runtime")
profile (mf/deref refs/profile)
mcp (mf/deref refs/mcp)
tokens (mf/deref refs/access-tokens)
expired? (some->> tokens
(some #(when (= (:type %) "mcp") %))
:expires-at

View File

@ -691,7 +691,7 @@
(h/call wasm/internal-module "_add_shape_stroke_fill")
(when (== cached-image? 0)
(fetch-image shape-id image-id thumbnail?)))
(some? color)
(do
(types.fills.impl/write-solid-fill offset dview opacity color)