(fix:prompts) show delete only when possible

This commit is contained in:
ManishMadan2882
2025-06-19 02:18:20 +05:30
parent 55a1d867c3
commit 5bc28bd4fd
2 changed files with 11 additions and 4 deletions

View File

@@ -177,7 +177,7 @@ export default function Prompts({
rounded="3xl"
border="border"
showEdit
showDelete
showDelete={(prompt) => prompt.type !== 'public'}
onEdit={({
id,
name,