refactor
This commit is contained in:
		| @@ -51,7 +51,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
| <script lang="ts" setup> | ||||
| import { defineAsyncComponent } from 'vue'; | ||||
| import { toUnicode } from 'punycode/'; | ||||
| import { UserDetailed } from 'misskey-js/built/entities'; | ||||
| import * as Misskey from 'misskey-js'; | ||||
| import { supported as webAuthnSupported, get as webAuthnRequest, parseRequestOptionsFromJSON } from '@github/webauthn-json/browser-ponyfill'; | ||||
| import { showSuspendedDialog } from '@/scripts/show-suspended-dialog.js'; | ||||
| import MkButton from '@/components/MkButton.vue'; | ||||
| @@ -63,7 +63,7 @@ import { login } from '@/account.js'; | ||||
| import { i18n } from '@/i18n.js'; | ||||
|  | ||||
| let signing = $ref(false); | ||||
| let user = $ref<UserDetailed | null>(null); | ||||
| let user = $ref<Misskey.entities.UserDetailed | null>(null); | ||||
| let username = $ref(''); | ||||
| let password = $ref(''); | ||||
| let token = $ref(''); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo