Adding remove messages to persistence layer (#5066)

This commit is contained in:
Joseph Insalaco 2024-06-26 20:44:40 -04:00 committed by GitHub
parent 8687163cca
commit f8bc6cf998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 54 additions and 4 deletions

View file

@ -42,5 +42,9 @@ export const Dispatch = {
sortGames: (roomId, field, order) => {
store.dispatch(Actions.sortGames(roomId, field, order));
}
},
removeMessages: (roomId, name, amount) => {
store.dispatch(Actions.removeMessages(roomId, name, amount));
},
}