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/defc mcp-menu*
|
||||||
{::mf/private true}
|
{::mf/private true}
|
||||||
[{:keys [on-close]}]
|
[{: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)
|
profile (mf/deref refs/profile)
|
||||||
mcp (mf/deref refs/mcp)
|
mcp (mf/deref refs/mcp)
|
||||||
tokens (mf/deref refs/access-tokens)
|
tokens (mf/deref refs/access-tokens)
|
||||||
|
|
||||||
expired? (some->> tokens
|
expired? (some->> tokens
|
||||||
(some #(when (= (:type %) "mcp") %))
|
(some #(when (= (:type %) "mcp") %))
|
||||||
:expires-at
|
:expires-at
|
||||||
|
|||||||
@ -691,7 +691,7 @@
|
|||||||
(h/call wasm/internal-module "_add_shape_stroke_fill")
|
(h/call wasm/internal-module "_add_shape_stroke_fill")
|
||||||
(when (== cached-image? 0)
|
(when (== cached-image? 0)
|
||||||
(fetch-image shape-id image-id thumbnail?)))
|
(fetch-image shape-id image-id thumbnail?)))
|
||||||
|
|
||||||
(some? color)
|
(some? color)
|
||||||
(do
|
(do
|
||||||
(types.fills.impl/write-solid-fill offset dview opacity color)
|
(types.fills.impl/write-solid-fill offset dview opacity color)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user