remove console.log(
This commit is contained in:
@@ -16,7 +16,6 @@ const Register = () => {
|
||||
try {
|
||||
await axios.get('/sanctum/csrf-cookie')
|
||||
const res = await axios.post('/api/register', {name, email, password})
|
||||
console.log(name, email, password)
|
||||
navigate('/')
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
|
||||
@@ -20,7 +20,6 @@ const RainfallIndex = () => {
|
||||
setLastPage(res.data.meta.last_page)
|
||||
setRainfalls([...rainfalls, ...res.data.data])
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
errorCatch(error)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user