Skip to content

Commit

Permalink
chore: Fix displayNames in examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVann committed Feb 25, 2019
1 parent 1ae24fc commit 52d1d8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export default BaseComponent => {
}
}

WithCacheBust.displayName = `withCacheBust${BaseComponent.displayName}`
WithCacheBust.displayName = `withCacheBust(${BaseComponent.displayName ||
BaseComponent.name})`

return WithCacheBust
}
3 changes: 2 additions & 1 deletion react-native-fast-image-example/src/withCacheBust.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export default BaseComponent => {
}
}

WithCacheBust.displayName = `withCacheBust${BaseComponent.displayName}`
WithCacheBust.displayName = `withCacheBust(${BaseComponent.displayName ||
BaseComponent.name})`

return WithCacheBust
}

0 comments on commit 52d1d8b

Please sign in to comment.