-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Describe the bug
Warning: React does not recognize the `fetchPriority` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `fetchpriority` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
at img
at Image2 (file:///Users/user/Desktop/projects/project/node_modules/@unpic/react/dist/chunk-W7EQS7E7.mjs:30:42)
To Reproduce
<UnpicReactImage
priority
layout="constrained"
width={1023}
height={682}
src="/static/assets/images/owl.jpg"
alt="Owl"
cdn="astro"
/>Expected behavior
No warnings logged to the console
Desktop (please complete the following information):
- OS: macOS
- Browser: Chrome
- Version: 0.0.23
I suppose the solution is using fetchpriority instead of fetchPriority for now
muco-rolle, acoderacom and Loukazou
Metadata
Metadata
Assignees
Labels
No labels