mirror of
https://github.com/penpot/penpot.git
synced 2025-12-23 22:48:40 -05:00
🐛 Fix problem with variant plugins api (#7890)
This commit is contained in:
@@ -901,10 +901,10 @@
|
||||
(fn [pos value]
|
||||
(cond
|
||||
(not (nat-int? pos))
|
||||
(u/display-not-valid :pos pos)
|
||||
(u/display-not-valid :pos (str pos))
|
||||
|
||||
(not (string? name))
|
||||
(u/display-not-valid :name name)
|
||||
(not (string? value))
|
||||
(u/display-not-valid :name value)
|
||||
|
||||
:else
|
||||
(st/emit!
|
||||
|
||||
Reference in New Issue
Block a user