From b0c890fb53092cbec8da87d2acf242bc873ca59b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 14 Oct 2026 14:50:24 +0400 Subject: [PATCH] refac --- .../components/common/DiffEditorModal.svelte | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/lib/components/common/DiffEditorModal.svelte b/src/lib/components/common/DiffEditorModal.svelte index db83bf61c2..c19a2f03b1 100644 --- a/src/lib/components/common/DiffEditorModal.svelte +++ b/src/lib/components/common/DiffEditorModal.svelte @@ -334,25 +334,27 @@ > {/if} {#if comparing} -
- {loading - ? $i18n.t('Loading...') - : chunkCount - ? $i18n.t('Change {{current}} of {{total}}', { - current: activeChunk + 1, - total: chunkCount - }) - : $i18n.t('No differences')} - {#if approximate}≈{/if} +
+
+ {loading + ? $i18n.t('Loading...') + : chunkCount + ? $i18n.t('Change {{current}} of {{total}}', { + current: activeChunk + 1, + total: chunkCount + }) + : $i18n.t('No differences')} + {#if approximate}≈{/if} +