From 01f8997ea820005da7aec605c76198c2c9854463 Mon Sep 17 00:00:00 2001 From: Wonday Date: Tue, 31 Mar 2020 23:16:14 +0800 Subject: [PATCH] remove default props of defaultSource because having check before use --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index d05bd83..1f75ddb 100644 --- a/index.js +++ b/index.js @@ -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/";