feat: preserving state between route changes (#132)
This commit is contained in:
parent
d967520005
commit
6414f2a4e2
9 changed files with 63 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
const params = useRoute().params
|
||||
const accountName = $computed(() => params.account as string)
|
||||
const accountName = $(computedEager(() => params.account as string))
|
||||
|
||||
const account = await fetchAccountByName(accountName)
|
||||
const paginator = account ? useMasto().accounts.getFollowingIterable(account.id, {}) : null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue