Trump announced that White House press secretary Karoline Leavitt will leave her post at the end of the month.