From b73ab37c9452f709cc6f2fb5d4099c13feca7205 Mon Sep 17 00:00:00 2001 From: Aitor Moreno Date: Mon, 9 Jan 2023 11:05:58 +0100 Subject: [PATCH] :bug: Fix import dialog React duplicate key warning --- frontend/src/app/main/ui/dashboard/import.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard/import.cljs b/frontend/src/app/main/ui/dashboard/import.cljs index 66a481d1d..ad3d3800e 100644 --- a/frontend/src/app/main/ui/dashboard/import.cljs +++ b/frontend/src/app/main/ui/dashboard/import.cljs @@ -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)}]))