feat(admin): replace all remaining action buttons with Button component
Deploy Canina / deploy (push) Successful in 29s
Deploy Canina / deploy (push) Successful in 29s
This commit is contained in:
1 parent
1350267ffb
commit
33c1bee483
9 files changed
+172
-65
No files matched your search
@@ -282,14 +282,23 @@ export default function MenuManager() {
|
||||
<span className="text-xs text-gray-400 font-mono">{child.href}</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-1">
|
||||
<button onClick={() => openModal(child)} className="p-1.5 text-blue-600 hover:bg-blue-50 rounded-lg">
|
||||
<Edit2 className="w-3.5 h-3.5" />
|
||||
</button>
|
||||
<button onClick={() => setDeleteTargetId(child.id)} className="p-1.5 text-red-500 hover:bg-red-50 rounded-lg">
|
||||
<Trash2 className="w-3.5 h-3.5" />
|
||||
</button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="xs"
|
||||
startIcon={Edit2}
|
||||
onClick={() => openModal(child)}
|
||||
className="text-blue-600 hover:bg-blue-50"
|
||||
/>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="xs"
|
||||
startIcon={Trash2}
|
||||
onClick={() => setDeleteTargetId(child.id)}
|
||||
className="text-red-500 hover:bg-red-50"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user