Skip to content

Commit 77c40f9

Browse files
committed
Update OfflineImage.js
1 parent a34b4f9 commit 77c40f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OfflineImage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const FILE_PREFIX = Platform.OS === 'ios' ? '' : 'file://';
1010
* Wrapper class for React Image {@link https://facebook.github.io/react-native/docs/image.html}.
1111
* This component can get the cached image's device file path as source path.
1212
*/
13-
class OfflineImage extends React.Component {
13+
class OfflineImage extends React.PureComponent {
1414

1515
constructor(props) {
1616
super(props);

0 commit comments

Comments
 (0)