mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Chat fix for clearing
This commit is contained in:
parent
ce7e6281df
commit
8581ea99b9
@ -49,8 +49,10 @@ export const ChatWidgetView: FC<{}> = props =>
|
||||
|
||||
moveChatUp(existingChat, amount);
|
||||
});
|
||||
|
||||
removeHiddenChats();
|
||||
}
|
||||
}, [ chatMessages, moveChatUp ]);
|
||||
}, [ chatMessages, moveChatUp, removeHiddenChats ]);
|
||||
|
||||
const addChat = useCallback((chat: ChatBubbleMessage) =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user