From e9461cee3d2d6b787ef71bec54e7c57c88a2a23a Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Thu, 23 Nov 2023 02:14:12 +0100 Subject: [PATCH] Lint files --- .github/workflows/workflow.yml | 2 +- src/routes/+layout.svelte | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2f28824..8c672af 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -64,7 +64,7 @@ jobs: - name: Run linter run: yarn lint - name: Run vitest tests - run: yarn vitest run --reporter=json + run: yarn vitest run --reporter=json - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 66781f7..df4e0de 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -62,16 +62,16 @@ {#if !$isLoading} - - {getFlagEmoji($locale)} {languageNames[$locale]} - - {#each $locales as locale} - {getFlagEmoji(locale)} {languageNames[locale]} - {/each} - - + + {getFlagEmoji($locale)} {languageNames[$locale]} + + {#each $locales as locale} + {getFlagEmoji(locale)} {languageNames[locale]} + {/each} + + {/if}