File tree 1 file changed +1
-8
lines changed
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ const filters: ChannelFilters = { type: 'messaging', members: { $in: [userId] }
32
32
const options : ChannelOptions = { state : true , presence : true , limit : 10 } ;
33
33
const sort : ChannelSort = { last_message_at : - 1 , updated_at : - 1 } ;
34
34
35
- type LocalAttachmentType = Record < string , unknown > ;
36
- type LocalChannelType = Record < string , unknown > ;
37
- type LocalCommandType = string ;
38
- type LocalEventType = Record < string , unknown > ;
39
- type LocalMessageType = Record < string , unknown > ;
40
- type LocalReactionType = Record < string , unknown > ;
41
- type LocalUserType = Record < string , unknown > ;
42
-
43
35
const App = ( ) => {
44
36
const chatClient = useCreateChatClient ( {
45
37
apiKey,
@@ -52,6 +44,7 @@ const App = () => {
52
44
if ( chatClient ) {
53
45
const { reactions } = await chatClient . queryReactions ( 'dummy' , { } ) ;
54
46
console . log ( reactions [ 0 ] . customReactionField ) ;
47
+ console . log ( reactions [ 0 ] . user ?. customUserField ) ;
55
48
}
56
49
} ) ( ) ;
57
50
} , [ chatClient ] ) ;
You can’t perform that action at this time.
0 commit comments