mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-20 15:01:47 +01:00
Fix component name
This commit is contained in:
@@ -49,7 +49,7 @@ import {defineComponent, ref, useContext} from "@nuxtjs/composition-api";
|
||||
import {GuestbookForm} from "~/types/types";
|
||||
|
||||
export default defineComponent({
|
||||
name: "GuestBookLogin",
|
||||
name: "GuestBookForm",
|
||||
setup() {
|
||||
const { $axios, $sentry } = useContext()
|
||||
|
||||
@@ -86,7 +86,7 @@ export default defineComponent({
|
||||
form.value.message = ''
|
||||
success.value = true
|
||||
} else {
|
||||
console.log(response.data)
|
||||
$sentry.captureEvent(response.data)
|
||||
error.value = true
|
||||
setTimeout(() => {
|
||||
error.value = false
|
||||
Reference in New Issue
Block a user