chore: Fix displayNames in examples.

This commit is contained in:
Dylan Vann 2019-02-25 01:11:47 -05:00
parent 1ae24fc99c
commit 52d1d8b58b
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,8 @@ export default BaseComponent => {
}
}
WithCacheBust.displayName = `withCacheBust${BaseComponent.displayName}`
WithCacheBust.displayName = `withCacheBust(${BaseComponent.displayName ||
BaseComponent.name})`
return WithCacheBust
}

View File

@ -22,7 +22,8 @@ export default BaseComponent => {
}
}
WithCacheBust.displayName = `withCacheBust${BaseComponent.displayName}`
WithCacheBust.displayName = `withCacheBust(${BaseComponent.displayName ||
BaseComponent.name})`
return WithCacheBust
}