Rename global data arrays as plural by default
Easier for each loop and maps as to use singular
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
export let photos: any
|
||||
|
||||
const { settings, location }: any = getContext('global')
|
||||
const { settings, locations }: any = getContext('global')
|
||||
const { path } = $page
|
||||
</script>
|
||||
|
||||
@@ -75,9 +75,7 @@
|
||||
<InteractiveGlobe />
|
||||
<p class="homepage__title--world title-huge">World</p>
|
||||
|
||||
<Locations
|
||||
locations={location}
|
||||
/>
|
||||
<Locations {locations} />
|
||||
</section>
|
||||
|
||||
<div class="grid-modules">
|
||||
|
||||
Reference in New Issue
Block a user