🚨 Clean up eslint issues

This commit is contained in:
2025-11-08 12:20:58 +08:00
parent 05f8cabb33
commit 063faf4b8e
17 changed files with 145 additions and 171 deletions

View File

@@ -58,7 +58,6 @@ const props = defineProps<{
maxHeight?: number
}>()
const apiBase = useSolarNetworkUrl()
const isAllImages = computed(
() =>
@@ -194,8 +193,4 @@ function calculateAspectRatio(): number {
? (mostFrequent[mid - 1]! + mostFrequent[mid]!) / 2
: mostFrequent[mid]!
}
function getAttachmentUrl(attachment: SnAttachment): string {
return `${apiBase}/drive/files/${attachment.id}`
}
</script>