in src/features/chat-page/chat-store.tsx [50:55]
private removeMessage(id: string) { const index = this.messages.findIndex((el) => el.id === id); if (index > -1) { this.messages.splice(index, 1); } }