File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
1414 ThreadList ,
1515 ChatView ,
1616} from 'stream-chat-react' ;
17- import 'stream-chat-react/css/v2/index.css' ;
1817
1918const params = ( new Proxy ( new URLSearchParams ( window . location . search ) , {
2019 get : ( searchParams , property ) => searchParams . get ( property as string ) ,
@@ -38,7 +37,7 @@ const filters: ChannelFilters = {
3837 archived : false ,
3938} ;
4039const options : ChannelOptions = { limit : 5 , presence : true , state : true } ;
41- const sort : ChannelSort = [ { pinned_at : 1 } , { last_message_at : - 1 } , { updated_at : - 1 } ] ;
40+ const sort : ChannelSort = { pinned_at : 1 , last_message_at : - 1 , updated_at : - 1 } ;
4241
4342type LocalAttachmentType = Record < string , unknown > ;
4443type LocalChannelType = Record < string , unknown > ;
Original file line number Diff line number Diff line change 1212 height : 100% ;
1313}
1414
15+ @layer stream, emoji-replacement;
16+
17+ @import url (' stream-chat-react/css/v2/index.css' ) layer (stream );
18+ // use in combination with useImageFlagEmojisOnWindows prop on Chat component
19+ // @import url('stream-chat-react/css/v2/emoji-replacement.css') layer(emoji-replacement);
20+
1521#root {
1622 display : flex ;
1723 height : 100% ;
You can’t perform that action at this time.
0 commit comments