Lint files

This commit is contained in:
Djuri Baars 2023-11-23 02:14:12 +01:00
parent a9c12c2e9f
commit e9461cee3d
2 changed files with 11 additions and 11 deletions

View file

@ -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

View file

@ -62,16 +62,16 @@
</NavItem>
</Nav>
{#if !$isLoading}
<Dropdown inNavbar>
<DropdownToggle nav caret>{getFlagEmoji($locale)} {languageNames[$locale]}</DropdownToggle>
<DropdownMenu end>
{#each $locales as locale}
<DropdownItem on:click={setLocale(locale)}
>{getFlagEmoji(locale)} {languageNames[locale]}</DropdownItem
>
{/each}
</DropdownMenu>
</Dropdown>
<Dropdown inNavbar>
<DropdownToggle nav caret>{getFlagEmoji($locale)} {languageNames[$locale]}</DropdownToggle>
<DropdownMenu end>
{#each $locales as locale}
<DropdownItem on:click={setLocale(locale)}
>{getFlagEmoji(locale)} {languageNames[locale]}</DropdownItem
>
{/each}
</DropdownMenu>
</Dropdown>
{/if}
</Collapse>
</Navbar>