diff --git a/web-frontend/src/routes/app/+page.svelte b/web-frontend/src/routes/app/+page.svelte index 0fb7fee..4614c49 100644 --- a/web-frontend/src/routes/app/+page.svelte +++ b/web-frontend/src/routes/app/+page.svelte @@ -10,19 +10,19 @@ import CoordinateInfo from './CoordinateInfo.svelte'; import { emptyxpin } from '$lib/common.js'; -let tabInfo = { - selected: 0, - tabs: [ - { - label: "Map", - idx: 0, - }, - { - label: "Share", - idx: 1, - } - ] -}; + let tabInfo = { + selected: 0, + tabs: [ + { + label: 'Map', + idx: 0 + }, + { + label: 'Share', + idx: 1 + } + ] + }; let initSuccess = false; let coordinateTypes = []; @@ -184,12 +184,11 @@ let tabInfo = { bind:selectedCoordinateType /> - - - {#if tabInfo.selected === 1} - - {/if} + + {#if tabInfo.selected === 1} + + {/if} {:catch message} Could not start core module {/await} diff --git a/web-frontend/src/routes/app/CoordinateInfo.svelte b/web-frontend/src/routes/app/CoordinateInfo.svelte index ad69387..51f5993 100644 --- a/web-frontend/src/routes/app/CoordinateInfo.svelte +++ b/web-frontend/src/routes/app/CoordinateInfo.svelte @@ -1,5 +1,5 @@ Hi there diff --git a/web-frontend/src/routes/app/TabSelector.svelte b/web-frontend/src/routes/app/TabSelector.svelte index c1f6e06..f14b964 100644 --- a/web-frontend/src/routes/app/TabSelector.svelte +++ b/web-frontend/src/routes/app/TabSelector.svelte @@ -1,14 +1,19 @@
    - {#each tabInfo.tabs as tab} -
  • updateSelectedTab(tab)} class="p-2 block">{tab.label}
  • - {/each} + {#each tabInfo.tabs as tab} +
  • updateSelectedTab(tab)} + class="p-2 block" + > + {tab.label} +
  • + {/each}
-