Copy props to state in componentDidMount