Prevent warning of button inside button on dashboard

This commit is contained in:
Andrey Antukh 2024-10-18 16:43:50 +02:00 committed by Alonso Torres
parent d6da8afdce
commit ee533e2644
3 changed files with 6 additions and 4 deletions

View file

@ -355,9 +355,10 @@
)))]
[:li {:class (stl/css-case :grid-item true :project-th true :library library-view?)}
[:button
[:div
{:class (stl/css-case :selected selected? :library library-view?)
:ref node-ref
:role "button"
:title (:name file)
:draggable (dm/str can-edit)
:on-click on-select