No, New Hampshire was not the first state to enact a ban on gender-affirming care for minors. There have been other states that have done so, even before Trump was re-elected.
https://x.com/leadingreport/st....atus/195171557198229