浏览代码

fix: function list

Timothy Jaeryang Baek 5 月之前
父节点
当前提交
a3a205abd1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/components/admin/Functions.svelte

+ 1 - 1
src/lib/components/admin/Functions.svelte

@@ -219,7 +219,7 @@
 </div>
 
 <div class="mb-5">
-	{#each filteredItems as func}
+	{#each filteredItems as func (func.id)}
 		<div
 			class=" flex space-x-4 cursor-pointer w-full px-3 py-2 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl"
 		>