“We were not aware of his prior remarks,” the show said about Shane Gillis.
“I go into work one day. I left fired,” she recalled on her daytime talk show.
The comedian is leaving the long-running NBC series to focus on her film career.
The actress and comedian has been a series regular since 2014.
Season 45 of the NBC series premieres on September 28.
“Rich people don’t sleep eight hours a day,” Harvey previously said.
Lopez replaces Natalie Morales, who exited the entertainment show in April.
The first debate aired Wednesday night.
Jennifer Carpenter co-starred in the drama about an FBI agent and a notorious traitor.
Hall left NBC News in February 2017.