refactor(ui): rename shadowed m parameter to newMode
Avoids shadowing the Paraglide m import in the onModeChange callback. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit was merged in pull request #205.
This commit is contained in:
@@ -299,7 +299,7 @@ onMount(() => {
|
|||||||
hasBlocks={hasBlocks}
|
hasBlocks={hasBlocks}
|
||||||
blockCount={transcriptionBlocks.length}
|
blockCount={transcriptionBlocks.length}
|
||||||
lastEditedAt={lastEditedAt}
|
lastEditedAt={lastEditedAt}
|
||||||
onModeChange={(m) => (panelMode = m)}
|
onModeChange={(newMode) => (panelMode = newMode)}
|
||||||
onClose={() => (transcribeMode = false)}
|
onClose={() => (transcribeMode = false)}
|
||||||
/>
|
/>
|
||||||
<div class="flex-1 overflow-y-auto">
|
<div class="flex-1 overflow-y-auto">
|
||||||
|
|||||||
Reference in New Issue
Block a user