how to erase old input after sunmission in react app code example Example: how to empty form after submit react e.target.reset();