I have a react component useEffect hook that looks like the following. I am working with firestore, agora, and socketio. I am trying to remove a value from an array in fires