2010 Buick LaCrosse ABS

just put wheel hubs on the first of my 2010 Lacrosse but the ABS Light still comes on what can that be

If you replaced the wheel hub, why did you do that? To fix the ABS problem? How did you know WHICH wheel hub to replace? Did you have the ABS error codes read so that you could determine which wheel hub to replace? Or what?