Replaced LINE with PATH so we can use .getTotalLength() when we come to animate the line.
componentDidUpdate is where we'll do the line animation