mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 11:39:08 +03:00
6 lines
244 B
TypeScript
6 lines
244 B
TypeScript
import { ChatEvent } from '../../../interfaces/socket-events';
|
|
|
|
export function handleNameChangeEvent(message: ChatEvent, setChatMessages) {
|
|
setChatMessages(currentState => [...currentState, message]);
|
|
}
|
|
export default handleNameChangeEvent;
|