TypeError: Cannot read property 'first_name' of null in react

后端 未结 0 989
忘掉有多难
忘掉有多难 2021-01-29 08:04
  export function UserDisplay(props) {
    const {user, includeFullName} = props
    const nameDisplay = includeFullName === true ? `${user.first_name} ${user.last_name}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题