refactor: improve HandleCreate
This commit is contained in:
@@ -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'
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user