diff options
Diffstat (limited to 'frontend/app/components/UserIcon.tsx')
| -rw-r--r-- | frontend/app/components/UserIcon.tsx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/frontend/app/components/UserIcon.tsx b/frontend/app/components/UserIcon.tsx index b2750dd..9c57c42 100644 --- a/frontend/app/components/UserIcon.tsx +++ b/frontend/app/components/UserIcon.tsx @@ -1,21 +1,21 @@ import { BASE_PATH } from "../config"; type Props = { - iconPath: string; - displayName: string; - className: string; + iconPath: string; + displayName: string; + className: string; }; export default function UserIcon({ iconPath, displayName, className }: Props) { - return ( - <img - src={ - process.env.NODE_ENV === "development" - ? `http://localhost:8007${BASE_PATH}${iconPath}` - : `${BASE_PATH}${iconPath}` - } - alt={`${displayName} のアイコン`} - className={`rounded-full border-4 border-white ${className}`} - /> - ); + return ( + <img + src={ + process.env.NODE_ENV === "development" + ? `http://localhost:8007${BASE_PATH}${iconPath}` + : `${BASE_PATH}${iconPath}` + } + alt={`${displayName} のアイコン`} + className={`rounded-full border-4 border-white ${className}`} + /> + ); } |
