Destructurate page data
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
export let data: PageData
|
||||
|
||||
const { photos } = data
|
||||
const { settings, locations }: any = getContext('global')
|
||||
|
||||
let scrollY: number, innerHeight: number
|
||||
@@ -110,7 +111,7 @@
|
||||
</section>
|
||||
|
||||
<section class="homepage__photos">
|
||||
<Collage photos={data.photos} />
|
||||
<Collage {photos} />
|
||||
</section>
|
||||
|
||||
<div class="homepage__ctas">
|
||||
|
||||
Reference in New Issue
Block a user