State leader thanks Trump for visiting flooded areas