Skip to content

Commit 01f8997

Browse files
author
Wonday
committed
remove default props of defaultSource because having check before use
1 parent 04104f7 commit 01f8997

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.js

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ export default class CachedImage extends Component {
2525
static defaultProps = {
2626
expiration: 86400 * 7, // default cache a week
2727
activityIndicator: null, // default not show an activity indicator
28-
defaultSource: require('static/images/default.png')
29-
3028
};
3129

3230
static cacheDir = RNFetchBlob.fs.dirs.CacheDir + "/CachedImage/";

0 commit comments

Comments
 (0)