wip
This commit is contained in:
1 parent
95697e2491
commit
ced3cd5f6b
6 files changed
+43
-30
No files matched your search
@@ -19,9 +19,11 @@ const FormSuscribe = () => {
|
||||
method: 'POST',
|
||||
})
|
||||
|
||||
// console.log('resultat : ', res)
|
||||
const { error } = await res.json()
|
||||
|
||||
// console.log('error :', error)
|
||||
if (error) {
|
||||
console.log('error 2 : ', error)
|
||||
setMessage('You are already subscribed!')
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user