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 - name: Run linter
run: yarn lint run: yarn lint
- name: Run vitest tests - name: Run vitest tests
run: yarn vitest run --reporter=json run: yarn vitest run --reporter=json
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: npx playwright install --with-deps run: npx playwright install --with-deps
- name: Run Playwright tests - name: Run Playwright tests

View File

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