From bbde9e8497998b7e08d7f5a050485312665b75d3 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 29 Apr 2026 01:02:13 +0200 Subject: [PATCH] refactor(person-mention): rename shadowed m param in TranscriptionBlock bind setter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same fix as 79349644 — the bind:mentionedPersons setter parameter `m` shadowed the imported Paraglide m helper used two lines later in placeholder={m.transcription_block_placeholder()}. Functionally fine because the inner scope ends before the outer reference, but a clarity trap. Renamed to next. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/components/TranscriptionBlock.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/TranscriptionBlock.svelte b/frontend/src/lib/components/TranscriptionBlock.svelte index 97d4fcde..ff866e08 100644 --- a/frontend/src/lib/components/TranscriptionBlock.svelte +++ b/frontend/src/lib/components/TranscriptionBlock.svelte @@ -198,8 +198,8 @@ function handleTextareaMouseUp() { emitChange(); }} bind:mentionedPersons={() => localMentions, - (m) => { - localMentions = m; + (next) => { + localMentions = next; emitChange(); }} placeholder={m.transcription_block_placeholder()}