From 9246a9e6abdd47bb2ed2adb0a68a20be97b2eca0 Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Fri, 17 Apr 2026 23:52:27 +0800 Subject: [PATCH] fix(room): move eslint-disable comment inside array to fix SWC syntax error --- src/components/room/MentionPopover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/room/MentionPopover.tsx b/src/components/room/MentionPopover.tsx index e958987..015cd95 100644 --- a/src/components/room/MentionPopover.tsx +++ b/src/components/room/MentionPopover.tsx @@ -99,7 +99,7 @@ export function MentionPopover({ { type: 'category', category: 'repository', label: 'Repository', value: '@repository:' }, { type: 'category', category: 'user', label: 'User', value: '@user:' }, { type: 'category', category: 'ai', label: 'AI', value: '@ai:' }, - // eslint-disable-next-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); // intentionally static const suggestions = useMemo((): MentionSuggestion[] => {