Skip to content

Commit e42b134

Browse files
authored
fix: mentions dont work if giphy is disabled (#1500)
1 parent 81cc818 commit e42b134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/AutoCompleteInput/AutoCompleteInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ const AutoCompleteInputWithContext = <
362362
isTrackingStarted.current
363363
) {
364364
stopTracking();
365-
} else if (giphyEnabled && !(await handleCommand(text))) {
365+
} else if (!(await handleCommand(text))) {
366366
const mentionTokenMatch = text
367367
.slice(0, selectionEnd.current)
368368
.match(/(?!^|\W)?@[^\s@]*\s?[^\s@]*$/g);

0 commit comments

Comments
 (0)