🚨 Clean up eslint issues
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user