refactor: improve HandleCreate

This commit is contained in:
2024-06-22 21:11:01 +04:00
parent 6cd2a0c438
commit 8c153605f9
5 changed files with 31 additions and 36 deletions
@@ -1,14 +0,0 @@
'use client'
import CreateForm from '../forms/create-form.js'
export default function CreateComment(props) {
return (
<CreateForm
{...props}
collection='commentaires'
dialogText='Écrivez votre commentaire'
label='commentaire'
/>
)
}