Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(components): π Ensure Image component updates on src prop change
- Add useEffect hook to reset `imageSrc`, `hasAttemptedFallback`, and `imageLoaded` states upon `src` prop change. This ensures the component properly handles new image sources and attempts to load the fallback image only when necessary. - Improve responsiveness of the Image component to prop updates, enhancing its versatility in dynamic UIs where image sources may change.
- Loading branch information