fix(room): move eslint-disable comment inside array to fix SWC syntax error

This commit is contained in:
ZhenYi 2026-04-17 23:52:27 +08:00
parent f9a3b51406
commit 9246a9e6ab

View File

@ -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[] => {