Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

refactor(web): rename `LintChart`

Elijah Potter40417998c45a
diff --git a/packages/web/src/lib/LintChart.svelte b/packages/web/src/lib/LintKindChart.svelte
similarity index 100%
rename from packages/web/src/lib/LintChart.svelte
rename to packages/web/src/lib/LintKindChart.svelte
diff --git a/packages/web/src/routes/stats/+page.svelte b/packages/web/src/routes/stats/+page.svelte
index 28a6d1c49..a4df9b3e0 100644
--- a/packages/web/src/routes/stats/+page.svelte
+++ b/packages/web/src/routes/stats/+page.svelte
@@ -1,5 +1,5 @@
<script lang="ts">
-import LintChart from '$lib/LintChart.svelte';
+import LintKindChart from '$lib/LintKindChart.svelte';
import {
Table,
TableBody,
@@ -38,7 +38,7 @@ $effect(() => {
{#if summary.lint_counts}
<h2>Most Common Kinds of Corrections</h2>
- <LintChart lintCounts={summary.lint_counts}/>
+ <LintKindChart lintCounts={summary.lint_counts}/>
{/if}
{#if summary.total_applied}