Wrong, I believe there were only 2 states that had repealed it before reaching statehood, but they also prohibited interracial marriage before reaching statehood.
I did err, as I discovered after posting, but you are erring here, too.
See:
Nine states never had any such laws:
New Hampshire and Vermont, Connecticut, New York, New Jersey, Minnesota, Wisconsin, Alaska, and Hawaii.
Note that New Hampshire, Connecticut, New York, and New Jersey were among the original 13 colonies that became states (NH included Vermont till 1790). To this group, Pennsylvania should probably be added only because it repealed its anti-miscegenation law in 1780, but Massachusetts didn't do so until 1843, I think. I was mistaken about RI.
I assure you, the history of NY is deeply intertwined with Iroquois history and very prominent so-called whites married to members of the Mohawk, Seneca, Oneida, and Tuscarora nations.
NH, Vermont, and Minnesota, like Quebec and Ontario in Canada, were filled with French and British fur traders in the colonial years who often married Native Americans.
Remarkably, in 1662, only one of the colonies had such a law, and that was Virginia.