Rename global data arrays as plural by default
Easier for each loop and maps as to use singular
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
export let photos: any
|
||||
|
||||
const { location }: any = getContext('global')
|
||||
const { locations }: any = getContext('global')
|
||||
</script>
|
||||
|
||||
<Metas
|
||||
@@ -27,10 +27,7 @@
|
||||
|
||||
<section class="explore__locations" id="locations">
|
||||
<InteractiveGlobe />
|
||||
|
||||
<Locations
|
||||
locations={location}
|
||||
/>
|
||||
<Locations {locations} />
|
||||
</section>
|
||||
|
||||
<section class="grid-modules grid">
|
||||
|
||||
Reference in New Issue
Block a user