Don't call createNewItem() from within removeItem() because state changes from removeItem() have not had a chance to propagate to this.state, and createNewItem() ends up referencing stale state.
You may want to look at just commit 30612ab since inconsistent indentation needed to be corrected in editItemsTable.tsx.
Don't call createNewItem() from within removeItem() because state changes from removeItem() have not had a chance to propagate to this.state, and createNewItem() ends up referencing stale state.
You may want to look at just commit 30612ab since inconsistent indentation needed to be corrected in editItemsTable.tsx.