File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ function Collection({ isSelfProfile }) {
161161 </ div >
162162 ) }
163163 < LazyLoadImage
164- effect = " blur"
164+ effect = ' blur'
165165 src = { image . lowqSrc }
166166 onClick = { ( ) => {
167167 setIndex ( index )
@@ -170,7 +170,7 @@ function Collection({ isSelfProfile }) {
170170 onLoad = { ( ) => {
171171 setLoadedImages ( ( prev ) => [ ...prev , image . lowqSrc ] )
172172 } }
173- className = "absolute top-0 left-0 h-full w-full object-cover"
173+ wrapperClassName = "absolute top-0 left-0 h-full w-full object-cover"
174174 />
175175 { loadedImages . indexOf ( image . lowqSrc ) >= 0 && (
176176 < LazyLoadImage
@@ -183,8 +183,7 @@ function Collection({ isSelfProfile }) {
183183 onLoad = { ( ) => {
184184 setLoadedImages ( ( prev ) => [ ...prev , image . src ] )
185185 } }
186- className = 'absolute top-0 left-0 h-full w-full object-cover'
187- wrapperClassName = { clsx ( {
186+ wrapperClassName = { clsx ( 'absolute top-0 left-0 h-full w-full object-cover' , {
188187 'hidden' : loadedImages . indexOf ( image . src ) < 0 ,
189188 } ) }
190189 />
You can’t perform that action at this time.
0 commit comments