Fix onLoadSuccess calling onLoadSuccess before state with new pdf has been set
Fix onLoadSuccess calling onLoadSuccess before state with new pdf has been set

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