mirror of
https://github.com/actions/labeler
synced 2026-05-07 14:31:01 +02:00
build
This commit is contained in:
3
node_modules/pretty-format/build/plugins/ReactElement.js
generated
vendored
3
node_modules/pretty-format/build/plugins/ReactElement.js
generated
vendored
@@ -90,7 +90,8 @@ const getType = element => {
|
||||
}
|
||||
|
||||
if (ReactIs.isMemo(type)) {
|
||||
const functionName = type.type.displayName || type.type.name || '';
|
||||
const functionName =
|
||||
type.displayName || type.type.displayName || type.type.name || '';
|
||||
return functionName !== '' ? 'Memo(' + functionName + ')' : 'Memo';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user