File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/smart-components/MessageSearch/context/hooks Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11import { useEffect } from 'react' ;
22
33import type { GroupChannel , SendbirdGroupChat } from '@sendbird/chat/groupChannel' ;
4- import { MessageSearchOrder , MessageSearchQueryParams } from '@sendbird/chat/lib/__definition' ;
4+ import type { MessageSearchQueryParams } from '@sendbird/chat/lib/__definition' ;
55import type {
66 AdminMessage ,
77 BaseMessage ,
@@ -13,6 +13,11 @@ import type { SendbirdError } from '@sendbird/chat';
1313import type { Logger } from '../../../../lib/SendbirdState' ;
1414import * as messageActionTypes from '../dux/actionTypes' ;
1515
16+ enum MessageSearchOrder {
17+ SCORE = 'score' ,
18+ TIMESTAMP = 'ts' ,
19+ }
20+
1621interface MainProps {
1722 currentChannel : GroupChannel ;
1823 channelUrl : string ;
You can’t perform that action at this time.
0 commit comments