Skip to content

Commit

Permalink
Fix displayName prop access for client reference (#45794)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Feb 11, 2023
1 parent 81164fb commit 0620d1c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const deepProxyHandlers = {
return target.filepath
case 'name':
return target.name
case 'displayName':
return undefined
case 'async':
return target.async
// We need to special case this because createElement reads it if we pass this
Expand Down

0 comments on commit 0620d1c

Please sign in to comment.