File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import View from '../view';
8
8
import { asBaseComponent } from '../../commons/new' ;
9
9
import { extractAccessibilityProps } from '../../commons/modifiers' ;
10
10
11
- const LinearGradient = LinearGradientPackage ?. default
11
+ const LinearGradient = LinearGradientPackage ?. default ;
12
12
13
13
const ShimmerPlaceholder = createShimmerPlaceholder ( LinearGradient ) ;
14
14
@@ -325,19 +325,19 @@ class SkeletonView extends Component<SkeletonProps, SkeletonState> {
325
325
326
326
if ( times ) {
327
327
return (
328
- _ . times ( times , index => {
329
- const key = timesKey ? `${ timesKey } -${ index } ` : `${ index } ` ;
330
- return (
331
- < SkeletonView
332
- { ...this . props }
333
- key = { key }
334
- testID = { `${ testID } -${ index } ` }
335
- renderContent = { index === 0 ? renderContent : this . renderNothing }
336
- hideSeparator = { hideSeparator || ( ! showLastSeparator && index === times - 1 ) }
337
- times = { undefined }
338
- />
339
- ) ;
340
- } )
328
+ _ . times ( times , index => {
329
+ const key = timesKey ? `${ timesKey } -${ index } ` : `${ index } ` ;
330
+ return (
331
+ < SkeletonView
332
+ { ...this . props }
333
+ key = { key }
334
+ testID = { `${ testID } -${ index } ` }
335
+ renderContent = { index === 0 ? renderContent : this . renderNothing }
336
+ hideSeparator = { hideSeparator || ( ! showLastSeparator && index === times - 1 ) }
337
+ times = { undefined }
338
+ />
339
+ ) ;
340
+ } )
341
341
) ;
342
342
} else {
343
343
return this . renderSkeleton ( ) ;
You can’t perform that action at this time.
0 commit comments