mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
remove eager loading prop from Image
This commit is contained in:
@@ -111,7 +111,6 @@ export function BaseImage({
|
||||
decoding="async"
|
||||
fetchPriority={fetchPriority}
|
||||
loader={includeLoader ? <ImageLoader className={className} /> : null}
|
||||
loading="eager"
|
||||
src={src}
|
||||
unloader={
|
||||
includeUnloader ? (
|
||||
@@ -177,7 +176,6 @@ function ImageWithDebounce({
|
||||
decoding="async"
|
||||
fetchPriority={fetchPriority}
|
||||
loader={includeLoader ? <ImageLoader className={className} /> : null}
|
||||
loading="eager"
|
||||
src={debouncedSrc}
|
||||
unloader={
|
||||
includeUnloader ? (
|
||||
@@ -270,7 +268,6 @@ function ImageWithViewport({
|
||||
decoding="async"
|
||||
fetchPriority={fetchPriority}
|
||||
loader={includeLoader ? <ImageLoader className={className} /> : null}
|
||||
loading="eager"
|
||||
src={src}
|
||||
unloader={
|
||||
includeUnloader ? (
|
||||
|
||||
Reference in New Issue
Block a user