Move resetting this.state.pdf in case of changed document to avoid initial checking
Move resetting this.state.pdf in case of changed document to avoid initial checking

wojtekmaj/react-pdf,wojtekmaj/react-pdf,wojtekmaj/react-pdf