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
|
|
@ -9,11 +9,13 @@
|
|||
<script lang="ts" setup>
|
||||
import type { ButtonHTMLAttributes } from "vue";
|
||||
|
||||
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes { }
|
||||
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
|
||||
|
||||
defineProps<Props & {
|
||||
icon: string;
|
||||
}>();
|
||||
defineProps<
|
||||
Props & {
|
||||
icon: string;
|
||||
}
|
||||
>();
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
|
|
@ -24,6 +24,6 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { width } = useWindowSize()
|
||||
const isSmallScreen = computed(() => width.value < 640)
|
||||
const { width } = useWindowSize();
|
||||
const isSmallScreen = computed(() => width.value < 640);
|
||||
</script>
|
||||
|
|
@ -103,10 +103,10 @@ const client = await useMegalodon();
|
|||
const mentions = await useResolveMentions(props.note?.mentions ?? [], client);
|
||||
const content = props.note
|
||||
? await useParsedContent(
|
||||
props.note.content,
|
||||
props.note.emojis,
|
||||
mentions.value,
|
||||
)
|
||||
props.note.content,
|
||||
props.note.emojis,
|
||||
mentions.value,
|
||||
)
|
||||
: "";
|
||||
const numberFormat = (number = 0) =>
|
||||
new Intl.NumberFormat(undefined, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue