mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
style: 🎨 Apply Biome
This commit is contained in:
parent
a17df9fff8
commit
d1f61dc32d
4 changed files with 21 additions and 15 deletions
|
|
@ -102,11 +102,15 @@ const { timeline, loadNext, loadPrev } = useAccountTimeline(
|
|||
);
|
||||
const skeleton = ref<HTMLSpanElement | null>(null);
|
||||
|
||||
const parsedNote = account ? await useParsedContent(account?.note, account?.emojis, []) : ref("");
|
||||
const parsedFields = await Promise.all(account?.fields.map(async (field) => ({
|
||||
name: await useParsedContent(field.name, account.emojis, []),
|
||||
value: await useParsedContent(field.value, account.emojis, []),
|
||||
})) ?? []);
|
||||
const parsedNote = account
|
||||
? await useParsedContent(account?.note, account?.emojis, [])
|
||||
: ref("");
|
||||
const parsedFields = await Promise.all(
|
||||
account?.fields.map(async (field) => ({
|
||||
name: await useParsedContent(field.name, account.emojis, []),
|
||||
value: await useParsedContent(field.value, account.emojis, []),
|
||||
})) ?? [],
|
||||
);
|
||||
|
||||
onMounted(() => {
|
||||
useIntersectionObserver(skeleton, async (entries) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue