mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 08:50:51 +01:00
Merge branch 'dev' of https://github.com/billsonnn/nitro-react into dev
This commit is contained in:
commit
a589789602
@ -27,9 +27,9 @@ export const ModToolsChatlogView: FC<ModToolsChatlogViewProps> = props =>
|
|||||||
{
|
{
|
||||||
const parser = event.getParser();
|
const parser = event.getParser();
|
||||||
|
|
||||||
setRoomName(parser.name);
|
setRoomName(parser.data.roomName);
|
||||||
setMessages(parser.chatlogs);
|
setMessages(parser.data.chatlog);
|
||||||
setLoadedRoomId(parser.id);
|
setLoadedRoomId(parser.data.roomId);
|
||||||
}, [ setRoomName, setMessages ]);
|
}, [ setRoomName, setMessages ]);
|
||||||
|
|
||||||
CreateMessageHook(ModtoolRoomChatlogEvent, onModtoolRoomChatlogEvent);
|
CreateMessageHook(ModtoolRoomChatlogEvent, onModtoolRoomChatlogEvent);
|
||||||
|
Loading…
Reference in New Issue
Block a user