mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🔧 Fix rust linter errors
This commit is contained in:
parent
7532bf411c
commit
078663b0fa
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user