1
0
mirror of https://github.com/actions/labeler synced 2026-05-07 14:31:01 +02:00
This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -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';
}
}