import { Avatar, Button, Card, Descriptions, Skeleton, Typography } from 'antd'; import { UserOutlined } from '@ant-design/icons'; import { useRouterStore, useUser } from '@l-clutch/core'; import { FollowTag } from '../FollowTag'; import { LastLoggedInDate } from '../LastLoggedInDate'; const AVATOR_SIZE = 64; export const Content = () => { const { getPath } = useRouterStore(); const id = getPath(1); const { data, isLoading } = useUser(Number(id)); return ( Wordpressのユーザー編集画面を開く } data-testid="content" > } size={AVATOR_SIZE} />} title={ {data?.line_info?.display_name !== '' ? data?.line_info?.display_name : '(名前未取得)'} } description={ {data?.line_info?.user_id !== '' ? data?.line_info?.user_id : '(ユーザーID未取得)'} } /> , }, { key: 'last-login', label: '最終ログイン', children: , }, ]} /> ); };