diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2023-12-26 14:19:35 +0900 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2023-12-28 09:45:15 +0100 |
| commit | 8daff4a998e9b8371f59de7af8909dd8dfc39a9e (patch) | |
| tree | a94a38d41563f0c7fe34021f976b5c5ec2585140 /packages/frontend/src/components/MkSignupDialog.form.vue | |
| parent | (dev) Issue Templateに、自分で実装してPRを出したいかの意思... (diff) | |
| download | sharkey-8daff4a998e9b8371f59de7af8909dd8dfc39a9e.tar.gz sharkey-8daff4a998e9b8371f59de7af8909dd8dfc39a9e.tar.bz2 sharkey-8daff4a998e9b8371f59de7af8909dd8dfc39a9e.zip | |
refactor(frontend): Reactivityで型を明示するように (#12791)
* refactor(frontend): Reactivityで型を明示するように
* fix: プロパティの参照が誤っているのを修正
* fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
Diffstat (limited to 'packages/frontend/src/components/MkSignupDialog.form.vue')
| -rw-r--r-- | packages/frontend/src/components/MkSignupDialog.form.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkSignupDialog.form.vue b/packages/frontend/src/components/MkSignupDialog.form.vue index 3c5dd0ce29..9984b09c1a 100644 --- a/packages/frontend/src/components/MkSignupDialog.form.vue +++ b/packages/frontend/src/components/MkSignupDialog.form.vue @@ -121,9 +121,9 @@ const emailState = ref<null | 'wait' | 'ok' | 'unavailable:used' | 'unavailable: const passwordStrength = ref<'' | 'low' | 'medium' | 'high'>(''); const passwordRetypeState = ref<null | 'match' | 'not-match'>(null); const submitting = ref<boolean>(false); -const hCaptchaResponse = ref(null); -const reCaptchaResponse = ref(null); -const turnstileResponse = ref(null); +const hCaptchaResponse = ref<string | null>(null); +const reCaptchaResponse = ref<string | null>(null); +const turnstileResponse = ref<string | null>(null); const usernameAbortController = ref<null | AbortController>(null); const emailAbortController = ref<null | AbortController>(null); |