\ No newline at end of file
diff --git a/src/components/organisms/Locations.svelte b/src/components/organisms/Locations.svelte
index 16fbd9d..ce365f0 100644
--- a/src/components/organisms/Locations.svelte
+++ b/src/components/organisms/Locations.svelte
@@ -1,9 +1,9 @@
-
@@ -13,12 +13,12 @@
-
+
- {#each locations as location (location.id)}
+ {#each locations as location (location.slug)}
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 59af724..bce8595 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -24,13 +24,21 @@
name
slug
country {
- id
+ name
+ slug
+ flag {
+ id
+ }
}
+ date_updated
}
country {
name
slug
+ flag {
+ id
+ }
}
continent {
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index 29140fa..f36c60b 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -5,7 +5,6 @@
import Locations from '$components/organisms/Locations.svelte'
const globalData: any = getContext('global')
- console.log(globalData)
Hello location
\ No newline at end of file