From 83bcd00d00454b4d687d62ef4603c7e31dd34f53 Mon Sep 17 00:00:00 2001 From: testusuke Date: Tue, 8 Oct 2024 00:42:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20pictureId=E3=82=92=E6=B6=88=E3=81=97?= =?UTF-8?q?=E3=81=9F=E5=A4=89=E6=9B=B4=E3=81=AB=E5=AF=BE=E5=BF=9C=E3=81=97?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E9=83=A8=E5=88=86=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/users/userEditor.tsx | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/components/users/userEditor.tsx b/components/users/userEditor.tsx index 95420ce..cb30b2c 100644 --- a/components/users/userEditor.tsx +++ b/components/users/userEditor.tsx @@ -8,7 +8,7 @@ import { import {HiCheck, HiTrash} from "react-icons/hi2"; import React, {useState} from "react"; import {Gender, User, userFactory} from "@/src/models/UserModel"; -import { Class } from "@/src/models/ClassModel"; +import {Class} from "@/src/models/ClassModel"; import {Role} from "@/src/models/RoleModel"; import {useRouter} from "next/navigation"; @@ -31,7 +31,6 @@ export default function UserEditor(props: UserEditorProps) { name: props.user.name, email: props.user.email, gender: gender as Gender, - pictureId: props.user.pictureId, classId: classId, }) @@ -46,22 +45,9 @@ export default function UserEditor(props: UserEditorProps) { return ( <> - - - - - - {props.user.name} - - + + {props.user.name} + 性別