From 317e5a21924c635bf98080763ce0ddb8c0295180 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Thu, 4 Nov 2021 13:47:09 +0700 Subject: [PATCH] update Map tutorial --- .../01-context-api/app-a/Map.svelte | 45 +++++++++--------- .../01-context-api/app-b/Map.svelte | 47 +++++++++---------- 2 files changed, 45 insertions(+), 47 deletions(-) diff --git a/site/content/tutorial/15-context/01-context-api/app-a/Map.svelte b/site/content/tutorial/15-context/01-context-api/app-a/Map.svelte index c6a660a49f..5bc4d4b833 100644 --- a/site/content/tutorial/15-context/01-context-api/app-a/Map.svelte +++ b/site/content/tutorial/15-context/01-context-api/app-a/Map.svelte @@ -1,5 +1,5 @@ + + + +
{#if map} - + {/if}
@@ -45,4 +44,4 @@ width: 100%; height: 100%; } - \ No newline at end of file + diff --git a/site/content/tutorial/15-context/01-context-api/app-b/Map.svelte b/site/content/tutorial/15-context/01-context-api/app-b/Map.svelte index 059fcca45b..99aead054b 100644 --- a/site/content/tutorial/15-context/01-context-api/app-b/Map.svelte +++ b/site/content/tutorial/15-context/01-context-api/app-b/Map.svelte @@ -1,9 +1,9 @@ + + + +
{#if map} - + {/if}
@@ -47,4 +46,4 @@ width: 100%; height: 100%; } - \ No newline at end of file +