Description
Problem
An impatient texter can click several times while the first batch is being assigned by the server and if the timing is 'lucky' (i.e. unlucky) they can end up with several batches assigned to them even if there would have been restrictions on that.
Solution
In the src/texter-sideboxes/default-dynamicassignment/react-component.js file, before a mutation is sent to findNewCampaignContact() it should set a component state of 'gettingBatch: true' and if this.state.gettingBatch, then it should NOT send another mutation (if clause) to the server.
Ideally, it would change the button state to a 'waiting' view or disabledbutton
A deeper approach may be server-side and put all of the mutation findNewCampaignContact into a single transaction, but that isn't necessary to have something 'good enough' and an improvement in texter experience.