fix(room): move eslint-disable comment inside array to fix SWC syntax error
This commit is contained in:
parent
f9a3b51406
commit
9246a9e6ab
@ -99,7 +99,7 @@ export function MentionPopover({
|
|||||||
{ type: 'category', category: 'repository', label: 'Repository', value: '@repository:' },
|
{ type: 'category', category: 'repository', label: 'Repository', value: '@repository:' },
|
||||||
{ type: 'category', category: 'user', label: 'User', value: '@user:' },
|
{ type: 'category', category: 'user', label: 'User', value: '@user:' },
|
||||||
{ type: 'category', category: 'ai', label: 'AI', value: '@ai:' },
|
{ 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
|
}, []); // intentionally static
|
||||||
|
|
||||||
const suggestions = useMemo((): MentionSuggestion[] => {
|
const suggestions = useMemo((): MentionSuggestion[] => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user