From 28cc7c6e1e943734d94c6b3c487f5b6430c2b997 Mon Sep 17 00:00:00 2001
From: HsiangNianian <i@jyunko.cn>
Date: Thu, 15 Jan 2026 15:26:30 +0800
Subject: fix: Clean up main.rs by removing unused imports and updating
 variable names for clarity; enhance HomeView.svelte by correcting emoji
 processing logic

---
 ui/src/components/HomeView.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ui/src/components/HomeView.svelte')

diff --git a/ui/src/components/HomeView.svelte b/ui/src/components/HomeView.svelte
index 732545f..7bb7e44 100644
--- a/ui/src/components/HomeView.svelte
+++ b/ui/src/components/HomeView.svelte
@@ -49,7 +49,7 @@
       };
 
       // Replace emojis
-      let processed = body.replace(/:[a-z0-9_]+:/g, (match) => emojiMap[match] || match);
+      processed = processed.replace(/:[a-z0-9_]+:/g, (match) => emojiMap[match] || match);
 
       // GitHub commit hash linking (simple version for 7-40 hex chars inside backticks)
       processed = processed.replace(/`([0-9a-f]{7,40})`/g, (match, hash) => {
-- 
cgit v1.2.3-70-g09d2

