-
+
{{ client.name }}
{{ client.link }}
diff --git a/pages/register/index.vue b/pages/register/index.vue
index 676caac..e8169cb 100644
--- a/pages/register/index.vue
+++ b/pages/register/index.vue
@@ -133,15 +133,14 @@ const register = (result: {
reason: string;
}) => {
isLoading.value = true;
- client
- .registerAccount(
- result.username,
- result.email,
- result.password,
- true,
- "en",
- result.reason || "Empty reason",
- )
+ client?.registerAccount(
+ result.username,
+ result.email,
+ result.password,
+ true,
+ "en",
+ result.reason || "Empty reason",
+ )
.then(async (res) => {
navigateTo("/register/success");
})