refactor(frontend): Reactivityで型を明示するように (#12791)
* refactor(frontend): Reactivityで型を明示するように * fix: プロパティの参照が誤っているのを修正 * fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
This commit is contained in:
parent
f9c7b44ef8
commit
8daff4a998
109 changed files with 363 additions and 342 deletions
|
|
@ -58,7 +58,7 @@ const props = withDefaults(defineProps<{
|
|||
|
||||
const tab = ref(props.page);
|
||||
const user = ref<null | Misskey.entities.UserDetailed>(null);
|
||||
const error = ref(null);
|
||||
const error = ref<any>(null);
|
||||
|
||||
function fetchUser(): void {
|
||||
if (props.acct == null) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue