diff --git a/components/status/StatusBody.vue b/components/status/StatusBody.vue
index 0d52a7e1..02ec35e2 100644
--- a/components/status/StatusBody.vue
+++ b/components/status/StatusBody.vue
@@ -8,6 +8,6 @@ const { status } = defineProps<{
-
+
diff --git a/pages/@[account].vue b/pages/@[account].vue
new file mode 100644
index 00000000..5d585867
--- /dev/null
+++ b/pages/@[account].vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+ Account @{{ params.user }} not found
+
+
+
diff --git a/pages/@[account]/followers.vue b/pages/@[account]/followers.vue
index 034e742d..8840092c 100644
--- a/pages/@[account]/followers.vue
+++ b/pages/@[account]/followers.vue
@@ -8,13 +8,6 @@ const paginator = account ? masto.accounts.getFollowersIterable(account!.id!, {}
-
-
-
- Account @{{ params.user }} not found
-
diff --git a/pages/@[account]/following.vue b/pages/@[account]/following.vue
index e29042e9..fc60855b 100644
--- a/pages/@[account]/following.vue
+++ b/pages/@[account]/following.vue
@@ -3,18 +3,11 @@ const params = useRoute().params
const accountName = $computed(() => params.account as string)
const account = await fetchAccountByName(accountName)
-const paginator = account ? masto.accounts.getFollowingIterable(account!.id!, {}) : null
+const paginator = account ? masto.accounts.getFollowingIterable(account.id, {}) : null
-
-
-
- Account @{{ params.user }} not found
-
diff --git a/pages/@[account]/index.vue b/pages/@[account]/index.vue
index 2f04c891..37fe5836 100644
--- a/pages/@[account]/index.vue
+++ b/pages/@[account]/index.vue
@@ -12,21 +12,19 @@ const tabNames = ['Posts', 'Posts and replies'] as const
// Don't use local storage because it is better to default to Posts every time you visit a user's profile.
const tab = $ref('Posts')
+const paginator1 = masto.accounts.getStatusesIterable(account.id, { excludeReplies: true })
+const paginator2 = masto.accounts.getStatusesIterable(account.id, { excludeReplies: false })
+
const paginator = $computed(() => {
- return masto.accounts.getStatusesIterable(account.id, { excludeReplies: tab === 'Posts' } as any)
+ return tab === 'Posts' ? paginator1 : paginator2
})
-
-
+
-
-
-
-
- Account @{{ params.user }} not found
-
+
+
+
+
diff --git a/unocss.config.ts b/unocss.config.ts
index 5a3b742e..18d32112 100644
--- a/unocss.config.ts
+++ b/unocss.config.ts
@@ -21,7 +21,7 @@ export default defineConfig({
'interact-disabled': 'disabled:opacity-50 disabled:pointer-events-none disabled:saturate-0',
'btn-solid': 'px-4 py-2 rounded text-white bg-$c-primary hover:bg-$c-primary-active interact-disabled',
'btn-outline': 'px-4 py-2 rounded text-$c-primary border border-$c-primary hover:bg-$c-primary hover:text-white interact-disabled',
- 'btn-text': 'px-4 py-2 text-$c-primary hover:text-$c-primary-active interact-disabled',
+ 'btn-text': 'px-4 py-2 text-$c-primary hover:text-$c-primary-active interact-disabled cursor-pointer',
},
],
presets: [