removing state we don't need in component