Skip to content

Commit

Permalink
Merge pull request #15 from Afulton11/master
Browse files Browse the repository at this point in the history
Fix duplicate keys, refactor for issue #13
  • Loading branch information
junedomingo authored Jun 11, 2017
2 parents 9714ab2 + 2692a7c commit 7397c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/movies/tabs/Casts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Casts = ({ info, getTabHeight }) => {
<View style={styles.container} onLayout={getTabHeight.bind(this, 'casts', computedHeight)}>
{
info.casts.cast.map(item => (
<View key={item.id} style={styles.castContainer}>
<View key={item.cast_id} style={styles.castContainer}>
<Image source={{ uri: `${TMDB_IMG_URL}/w185/${item.profile_path}` }} style={styles.castImage} />
<View style={styles.characterContainer}>
<Text style={styles.characterName}>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/AppIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const icons = {

const iconsMap = {};
const iconsLoaded = new Promise((resolve, reject) => {
new Promise.all(
Promise.all(
Object.keys(icons).map(iconName =>
// IconName--suffix--other-suffix is just the mapping name in iconsMap
Ionicons.getImageSource(
Expand Down

0 comments on commit 7397c4b

Please sign in to comment.