Add the animate prop to any motion component to tell Framer Motion what state you want your component to end up in when the animation is complete
animate