@applicaster/zapp-react-native-ui-components 13.0.0-alpha.8362430079 → 13.0.0-alpha.8532113155

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,8 +43,6 @@ export default function Image({
43
43
  // toFiniteNumberWithDefault(0, style.height)
44
44
  // );
45
45
 
46
- // const index = R.pathOr(-1, ["item", "index"], otherProps);
47
-
48
46
  const source = useImageSourceWithDefault({
49
47
  uri,
50
48
  entry,
@@ -53,10 +51,6 @@ export default function Image({
53
51
  otherProps,
54
52
  });
55
53
 
56
- // const source = {
57
- // uri: `https://placehold.co/200x200/orange/white.png?text=${index}`,
58
- // };
59
-
60
54
  const onError = React.useCallback(() => {
61
55
  appendFailedToLoadUri(uri);
62
56
  setShowDefault(true);
@@ -31,12 +31,6 @@ function Image({
31
31
 
32
32
  const source = useImageSource({ uri, entry, otherProps });
33
33
 
34
- // const index = R.pathOr(-1, ["item", "index"], otherProps);
35
-
36
- // const source = {
37
- // uri: `https://placehold.co/200x200/orange/white.png?text=${index}`,
38
- // };
39
-
40
34
  React.useEffect(() => {
41
35
  // reset error state on URI change as the error is referencing previous uri
42
36
  setErrorState(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "13.0.0-alpha.8362430079",
3
+ "version": "13.0.0-alpha.8532113155",
4
4
  "description": "Applicaster Zapp React Native ui components for the Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -34,10 +34,10 @@
34
34
  "redux-mock-store": "^1.5.3"
35
35
  },
36
36
  "dependencies": {
37
- "@applicaster/applicaster-types": "13.0.0-alpha.8362430079",
38
- "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.8362430079",
39
- "@applicaster/zapp-react-native-redux": "13.0.0-alpha.8362430079",
40
- "@applicaster/zapp-react-native-utils": "13.0.0-alpha.8362430079",
37
+ "@applicaster/applicaster-types": "13.0.0-alpha.8532113155",
38
+ "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.8532113155",
39
+ "@applicaster/zapp-react-native-redux": "13.0.0-alpha.8532113155",
40
+ "@applicaster/zapp-react-native-utils": "13.0.0-alpha.8532113155",
41
41
  "promise": "^8.3.0",
42
42
  "react-router-native": "^5.1.2",
43
43
  "url": "^0.11.0",