mirror of
https://github.com/penpot/penpot.git
synced 2026-02-25 13:56:04 +00:00
✨ Remove key warning on import dialog
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
(ns app.main.ui.dashboard.import
|
||||
(:require
|
||||
[app.common.data :as d]
|
||||
[app.common.data.macros :as dm]
|
||||
[app.common.logging :as log]
|
||||
[app.main.data.events :as ev]
|
||||
[app.main.data.modal :as modal]
|
||||
@@ -340,6 +341,7 @@
|
||||
(let [editing? (and (some? (:file-id file))
|
||||
(= (:file-id file) (:editing @state)))]
|
||||
[:& import-entry {:state state
|
||||
:key (dm/str (:id file))
|
||||
:file file
|
||||
:editing? editing?
|
||||
:can-be-deleted? (> (count files) 1)}]))]
|
||||
|
||||
Reference in New Issue
Block a user