I have a small React.js app where users select an image through a standard file-input and, immediately after choosing the file, a preview should appear. Right now the upload seems to run—no errors show in the browser console—but the image never renders. What I need from you: • Inspect the existing component and pinpoint why the preview fails when images are uploaded directly in the browser. • Implement a concise fix so the selected image displays instantly, preserving current functionality. • Explain in a short note (or code comments) what was wrong and how you resolved it so I can learn from the change. The project is lean and time-sensitive, so a focused code patch and brief explanation will be perfect.