Cleanup code
- Remove unused props - Add alt to icon on BoxCTA
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
export let location: any
|
||||
export let photos: any[]
|
||||
export let lastUpdated: string
|
||||
export let totalPhotos: number
|
||||
|
||||
dayjs.extend(advancedFormat)
|
||||
@@ -289,7 +288,6 @@
|
||||
location: data.location[0],
|
||||
photos: data.photos,
|
||||
totalPhotos: data.photos.length ? data.total_published[0].count.location : 0,
|
||||
lastUpdated: data.photos.length ? data.photos[0].date_created : undefined,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user