mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 19:28:26 +00:00
86 lines
4.3 KiB
Diff
86 lines
4.3 KiB
Diff
diff --git a/node_modules/react-native-indicators/src/components/indicator/index.js b/node_modules/react-native-indicators/src/components/indicator/index.js
|
|
index b2de0a8..feb3c21 100644
|
|
--- a/node_modules/react-native-indicators/src/components/indicator/index.js
|
|
+++ b/node_modules/react-native-indicators/src/components/indicator/index.js
|
|
@@ -175,6 +175,7 @@ export default class Indicator extends PureComponent {
|
|
render() {
|
|
let { hideAnimation } = this.state;
|
|
let { count, hidesWhenStopped, ...props } = this.props;
|
|
+ const { key, ...rest } = props;
|
|
|
|
if (hidesWhenStopped) {
|
|
props.style = []
|
|
@@ -182,7 +183,7 @@ export default class Indicator extends PureComponent {
|
|
}
|
|
|
|
return (
|
|
- <Animated.View {...props}>
|
|
+ <Animated.View key={key} {...rest}>
|
|
{Array.from(new Array(count), this.renderComponent, this)}
|
|
</Animated.View>
|
|
);
|
|
diff --git a/node_modules/react-native-indicators/src/components/material-indicator/index.js b/node_modules/react-native-indicators/src/components/material-indicator/index.js
|
|
index bf7edc4..0bde608 100644
|
|
--- a/node_modules/react-native-indicators/src/components/material-indicator/index.js
|
|
+++ b/node_modules/react-native-indicators/src/components/material-indicator/index.js
|
|
@@ -107,7 +107,7 @@ export default class MaterialIndicator extends PureComponent {
|
|
};
|
|
|
|
return (
|
|
- <Animated.View style={styles.layer} {...{ key: index }}>
|
|
+ <Animated.View style={styles.layer} key={index}>
|
|
<Animated.View style={layerStyle}>
|
|
<Animated.View style={[containerStyle, offsetStyle]} collapsable={false}>
|
|
<Animated.View style={viewportStyle}>
|
|
diff --git a/node_modules/react-native-indicators/src/components/pulse-indicator/index.js b/node_modules/react-native-indicators/src/components/pulse-indicator/index.js
|
|
index 53bcf92..e452df8 100644
|
|
--- a/node_modules/react-native-indicators/src/components/pulse-indicator/index.js
|
|
+++ b/node_modules/react-native-indicators/src/components/pulse-indicator/index.js
|
|
@@ -51,7 +51,7 @@ export default class PulseIndicator extends PureComponent {
|
|
};
|
|
|
|
return (
|
|
- <Animated.View style={styles.layer} {...{ key: index }}>
|
|
+ <Animated.View style={styles.layer} key={index}>
|
|
<Animated.View style={pulseStyle} />
|
|
</Animated.View>
|
|
);
|
|
diff --git a/node_modules/react-native-indicators/src/components/skype-indicator/index.js b/node_modules/react-native-indicators/src/components/skype-indicator/index.js
|
|
index 8a988df..1a0304f 100644
|
|
--- a/node_modules/react-native-indicators/src/components/skype-indicator/index.js
|
|
+++ b/node_modules/react-native-indicators/src/components/skype-indicator/index.js
|
|
@@ -68,7 +68,7 @@ export default class SkypeIndicator extends PureComponent {
|
|
};
|
|
|
|
return (
|
|
- <Animated.View style={[styles.layer, layerStyle]} {...{ key: index }}>
|
|
+ <Animated.View style={[styles.layer, layerStyle]} key={index}>
|
|
<Animated.View style={ballStyle} />
|
|
</Animated.View>
|
|
);
|
|
diff --git a/node_modules/react-native-indicators/src/components/ui-activity-indicator/index.js b/node_modules/react-native-indicators/src/components/ui-activity-indicator/index.js
|
|
index dcde1e5..468e560 100644
|
|
--- a/node_modules/react-native-indicators/src/components/ui-activity-indicator/index.js
|
|
+++ b/node_modules/react-native-indicators/src/components/ui-activity-indicator/index.js
|
|
@@ -61,7 +61,7 @@ export default class UIActivityIndicator extends PureComponent {
|
|
};
|
|
|
|
return (
|
|
- <Animated.View style={[styles.layer, layerStyle]} {...{ key: index }}>
|
|
+ <Animated.View style={[styles.layer, layerStyle]} key={index}>
|
|
<Animated.View style={barStyle} />
|
|
</Animated.View>
|
|
);
|
|
diff --git a/node_modules/react-native-indicators/src/components/wave-indicator/index.js b/node_modules/react-native-indicators/src/components/wave-indicator/index.js
|
|
index 2de37d5..1fbe5ce 100644
|
|
--- a/node_modules/react-native-indicators/src/components/wave-indicator/index.js
|
|
+++ b/node_modules/react-native-indicators/src/components/wave-indicator/index.js
|
|
@@ -64,7 +64,7 @@ export default class WaveIndicator extends PureComponent {
|
|
};
|
|
|
|
return (
|
|
- <Animated.View style={styles.layer} {...{ key: index }}>
|
|
+ <Animated.View style={styles.layer} key={index}>
|
|
<Animated.View style={waveStyle} />
|
|
</Animated.View>
|
|
);
|