Skip to content

Commit fe73fea

Browse files
committed
fix(ui): remove unused imports, duplicate type, and fix title binding
1 parent 6c49480 commit fe73fea

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

app/pages/profile/[handle]/index.vue

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
<script setup lang="ts">
2-
import { debounce } from 'perfect-debounce'
32
import { updateProfile as updateProfileUtil } from '~/utils/atproto/profile'
4-
import { normalizeSearchParam } from '#shared/utils/url'
5-
6-
type LikesResult = {
7-
records: {
8-
value: {
9-
subjectRef: string
10-
}
11-
}[]
12-
}
133
144
const route = useRoute('/profile/[handle]')
15-
const router = useRouter()
165
const handle = computed(() => route.params.handle)
176
187
const { data: profile }: { data?: NPMXProfile } = useFetch(
@@ -168,7 +157,7 @@ defineOgImageComponent('Default', {
168157
<section class="flex flex-col gap-8">
169158
<h2
170159
class="font-mono text-2xl sm:text-3xl font-medium min-w-0 break-words"
171-
:title="Likes"
160+
title="Likes"
172161
dir="ltr"
173162
>
174163
Likes <span v-if="likesData">({{ likesData.likes.records.length ?? 0 }})</span>

0 commit comments

Comments
 (0)