my code goes like this:
actions: { getFireBaseOrders(state) { db.collection("ordersOptimized").onSnapshot((res) => { const changes = res.do