diff --git a/src/lib-components/BannerFeatured.vue b/src/lib-components/BannerFeatured.vue index 86009c140..8481ecc04 100644 --- a/src/lib-components/BannerFeatured.vue +++ b/src/lib-components/BannerFeatured.vue @@ -34,7 +34,7 @@ import getSectionName from '@/utils/getSectionName' const props = defineProps({ image: { type: Object as PropType, - default: () => ({}), + default: () => {}, }, title: { type: String, diff --git a/src/lib-components/BannerHeader.vue b/src/lib-components/BannerHeader.vue index 4993ce6b0..7eec50e4a 100644 --- a/src/lib-components/BannerHeader.vue +++ b/src/lib-components/BannerHeader.vue @@ -17,7 +17,7 @@ import ResponsiveImage from '@/lib-components/ResponsiveImage.vue' // Enable BlockForm in template // import BlockForm from '@/lib-components/BlockForm.vue' -import type { BylineItemType, ImageItemType, LocationItemType, SubjectAreaItemType } from '@/types/types' +import type { ImageItemType, LocationItemType, SubjectAreaItemType } from '@/types/types' // Utility functions import formatEventTimes from '@/utils/formatEventTimes' @@ -27,7 +27,7 @@ import getSectionName from '@/utils/getSectionName' const props = defineProps({ image: { type: Object as PropType, - default: () => ({}), + default: () => {}, }, title: { type: String, @@ -38,7 +38,7 @@ const props = defineProps({ default: '', }, byline: { - type: Array as PropType, + type: Array as PropType, default: () => [], }, contributors: { @@ -291,7 +291,7 @@ const parsedLocations = computed(() => {