diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 8300399a..a10ac907 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -105,12 +105,13 @@ module.exports = { j: true, k: true, param: true, + Params: true, + params: true, Props: true, props: true, req: true, res: true, str: true, - searchParams: true, temp: true, ImportMetaEnv: true } diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 85e0b108..0cd308b3 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -6,3 +6,7 @@ export const TID = { errorContainer: 'error-container', themeToggleButton: 'theme-toggle-button' } as const; + +export const C = { + utmSource: 'mermaid_live_editor' +} as const; diff --git a/src/lib/util/promos/April2025.svelte b/src/lib/util/promos/April2025.svelte index 8f231042..530763ed 100644 --- a/src/lib/util/promos/April2025.svelte +++ b/src/lib/util/promos/April2025.svelte @@ -1,5 +1,6 @@