Skip to content

Commit 1117068

Browse files
committed
Revert "run lint/format"
This reverts commit b2b0716.
1 parent b2b0716 commit 1117068

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/lib/Sidebar.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@
66
children?: import('svelte').Snippet;
77
}
88
9-
let { children, className }: Props = $props();
9+
let { children, className}: Props = $props();
1010
</script>
1111

12-
<div
13-
id="sidebar"
14-
class={clsx('flex h-full w-1/3 flex-col place-content-stretch gap-4 2xl:w-1/4', className)}
15-
>
12+
<div id="sidebar" class={clsx("flex h-full w-1/3 flex-col place-content-stretch gap-4 2xl:w-1/4", className)}>
1613
{@render children?.()}
1714
</div>

src/lib/StatsTable.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<th>Allocation method</th>
3333
{#each Object.values(allocationMethods) as { label }}
3434
<th>
35-
{#if label === 'Grandfathering'}
35+
{#if label==='Grandfathering'}
3636
<span class={grandfatheringColor}>{label}</span>
3737
{:else}
3838
{label}
@@ -45,16 +45,16 @@
4545
<tr>
4646
<th>2030 reductions<br />relative to 2015</th>
4747
{#each Object.keys(allocationMethods) as id}
48-
<td class={id === 'GF' ? grandfatheringColor : ''}>
49-
{reductions[id][2030] === null ? '-' : $tweenedReductions[id][2030].toFixed(0)}%
48+
<td class={id==='GF' ? grandfatheringColor : ""}>
49+
{reductions[id][2030] === null ? '-' : $tweenedReductions[id][2030].toFixed(0)}%
5050
</td>
5151
{/each}
5252
</tr>
5353
<tr>
5454
<th>2040 reductions<br />relative to 2015</th>
5555
{#each Object.keys(allocationMethods) as id}
56-
<td class={id === 'GF' ? grandfatheringColor : ''}>
57-
{reductions[id][2040] === null ? '-' : $tweenedReductions[id][2040].toFixed(0)}%
56+
<td class={id==='GF' ? grandfatheringColor : ""}>
57+
{reductions[id][2040] === null ? '-' : $tweenedReductions[id][2040].toFixed(0)}%
5858
</td>
5959
{/each}
6060
</tr>

0 commit comments

Comments
 (0)