0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

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

@ -109,9 +109,9 @@ jobs:
command: |
yarn install
yarn run build:app:assets
clojure -M:dev:shadow-cljs release main
yarn playwright install --with-deps chromium
yarn test:e2e
yarn run build:app
yarn run playwright install --with-deps chromium
yarn run test:e2e
- run:
name: "backend tests"

View file

@ -22,6 +22,7 @@
"build:storybook:assets": "node ./scripts/build-storybook-assets.js",
"build:storybook:cljs": "clojure -M:dev:shadow-cljs compile storybook",
"build:renderer": "yarn run wasm-pack build ./renderer --target web --out-dir ../resources/public/js/renderer --release",
"build:app": "clojure -M:dev:shadow-cljs release main",
"e2e:server": "node ./scripts/e2e-server.js",
"fmt:clj": "cljfmt fix --parallel=true src/ test/",
"fmt:clj:check": "cljfmt check --parallel=false src/ test/",

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