Hitting

N

My one year old is starting to hit. I tell her no, and she acts upset then keeps doing it. It's not hard, and I think it is just to get a reaction. Any tips to teach her to not hit when playing?