chore: Fix displayNames in examples.
This commit is contained in:
parent
1ae24fc99c
commit
52d1d8b58b
|
@ -22,7 +22,8 @@ export default BaseComponent => {
|
|||
}
|
||||
}
|
||||
|
||||
WithCacheBust.displayName = `withCacheBust${BaseComponent.displayName}`
|
||||
WithCacheBust.displayName = `withCacheBust(${BaseComponent.displayName ||
|
||||
BaseComponent.name})`
|
||||
|
||||
return WithCacheBust
|
||||
}
|
||||
|
|
|
@ -22,7 +22,8 @@ export default BaseComponent => {
|
|||
}
|
||||
}
|
||||
|
||||
WithCacheBust.displayName = `withCacheBust${BaseComponent.displayName}`
|
||||
WithCacheBust.displayName = `withCacheBust(${BaseComponent.displayName ||
|
||||
BaseComponent.name})`
|
||||
|
||||
return WithCacheBust
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue