0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

Merge pull request #2747 from penpot/azazeln28-fix-import-dialog-react-duplicate-key-warning

🐛 Fix import dialog React duplicate key warning
This commit is contained in:
Alejandro 2023-01-09 12:44:04 +01:00 committed by GitHub
commit 762681a421
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -384,7 +384,7 @@
(let [editing? (and (some? (:file-id file))
(= (:file-id file) (:editing @state)))]
[:& import-entry {:state state
:key (dm/str (:id file))
:key (dm/str (:uri file))
:file file
:editing? editing?
:can-be-deleted? (> (count files) 1)}]))