fix: lint errors

This commit is contained in:
Sidharth Vinod
2026-01-28 00:35:02 +05:30
parent b92fda6279
commit 832cf7d4e7
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -52,7 +52,7 @@
</script>
{#if activePromotion}
<div class="top-bar bg-primary z-10 flex h-fit w-full">
<div class="top-bar z-10 flex h-fit w-full bg-primary">
<div
class="flex flex-grow"
role="button"
@@ -81,7 +81,7 @@
<div class="flex flex-1 items-center gap-2">
<MainMenu />
<MermaidIcon class="size-6" />
<a href="/" class="text-accent whitespace-nowrap">
<a href="/" class="whitespace-nowrap text-accent">
{#if !mobileToggle}
Mermaid
{/if}
+3 -3
View File
@@ -5,9 +5,9 @@ import type { MermaidConfig } from 'mermaid';
import { derived, get, writable, type Readable } from 'svelte/store';
import { env } from './env';
import {
extractErrorLineText,
findMostRelevantLineNumber,
replaceLineNumberInErrorMessage
extractErrorLineText,
findMostRelevantLineNumber,
replaceLineNumberInErrorMessage
} from './errorHandling';
import { parse } from './mermaid';
import { localStorage, persist } from './persist';