Skip to content

Commit

Permalink
remove default props of defaultSource because having check before use
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Mar 31, 2020
1 parent 04104f7 commit 01f8997
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export default class CachedImage extends Component {
static defaultProps = {
expiration: 86400 * 7, // default cache a week
activityIndicator: null, // default not show an activity indicator
defaultSource: require('static/images/default.png')

};

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

0 comments on commit 01f8997

Please sign in to comment.