Skip to content

Commit

Permalink
Solve some eslint errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Jan 16, 2025
1 parent defd3d2 commit 10aee5e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/lib/CountryHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</script>

<div id="country-header" class="flex flex-row items-center gap-4 pb-2">
<a href={`/map${$page.url.search}`} title="Back to map"
<a href={`/map${$page.url.search}`} title="Back to map" aria-label="Back to map">
><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"
><path
fill="currentColor"
Expand Down
4 changes: 2 additions & 2 deletions src/lib/CustomRange.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// TODO could only fetch the value when the slider is released
</script>

<label>
<div>
<div class="flex flex-row gap-2">
<input
type="range"
Expand All @@ -42,4 +42,4 @@
<span class={index === valIndex ? 'font-extrabold' : ''}>{option}</span>
{/each}
</div>
</label>
</div>
1 change: 0 additions & 1 deletion src/lib/MiniPathwayCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import { page } from '$app/stores';
import Pathway from '$lib/charts/Pathway.svelte';
import Line from '$lib/charts/components/Line.svelte';
import Area from '$lib/charts/components/Area.svelte';
import type { CertainTime, UncertainTime } from '$lib/api';
interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/charts/components/LineArray.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
data: Record<string, number[]>;
x?: string;
y?: string;
color?: String;
color?: string;
}
let {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/server/db/xarray.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, beforeAll } from 'vitest';
import { test, expect } from 'vitest';

test('1+1', () => {
expect(1 + 1).toBe(2);
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="js">
<script lang="ts">
import '../app.css';
import { page } from '$app/stores';
import logo from '$lib/logo.svg';
Expand Down
1 change: 1 addition & 0 deletions src/routes/about/+page.server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const prerender = true;

0 comments on commit 10aee5e

Please sign in to comment.