From c71c37b46e11c74d0411bcea0ff16c27723446fd Mon Sep 17 00:00:00 2001 From: SKairinos Date: Tue, 24 Sep 2024 14:13:19 +0000 Subject: [PATCH] restructure reset students password --- src/pages/teacherDashboard/classes/Classes.tsx | 2 +- .../classes/class/ResetStudentsPasswordDialog.tsx | 2 +- src/pages/teacherDashboard/classes/class/UpdateStudentUser.tsx | 2 +- .../{class => resetStudentsPassword}/ResetStudentsPassword.tsx | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/pages/teacherDashboard/classes/{class => resetStudentsPassword}/ResetStudentsPassword.tsx (100%) diff --git a/src/pages/teacherDashboard/classes/Classes.tsx b/src/pages/teacherDashboard/classes/Classes.tsx index 67f6165..2a76d2d 100644 --- a/src/pages/teacherDashboard/classes/Classes.tsx +++ b/src/pages/teacherDashboard/classes/Classes.tsx @@ -7,7 +7,7 @@ import ClassTable from "./ClassTable" import CreateClassForm from "./CreateClassForm" import JoinClassRequest from "./joinClassRequest/JoinClassRequest" import JoinClassRequestTable from "./JoinClassRequestTable" -import ResetStudentsPassword from "./class/ResetStudentsPassword" +import ResetStudentsPassword from "./resetStudentsPassword/ResetStudentsPassword" import { type RetrieveUserResult } from "../../../api/user" import TransferStudents from "./transferStudents/TransferStudents" import UpdateStudentUser from "./class/UpdateStudentUser" diff --git a/src/pages/teacherDashboard/classes/class/ResetStudentsPasswordDialog.tsx b/src/pages/teacherDashboard/classes/class/ResetStudentsPasswordDialog.tsx index 37f19ba..3589911 100644 --- a/src/pages/teacherDashboard/classes/class/ResetStudentsPasswordDialog.tsx +++ b/src/pages/teacherDashboard/classes/class/ResetStudentsPasswordDialog.tsx @@ -9,7 +9,7 @@ import { useResetStudentsPasswordMutation, } from "../../../../api/student" import { type ListUsersResult } from "../../../../api/user" -import { type ResetStudentsPasswordState } from "./ResetStudentsPassword" +import { type ResetStudentsPasswordState } from "../resetStudentsPassword/ResetStudentsPassword" import { paths } from "../../../../routes" export interface ResetStudentsPasswordDialogProps diff --git a/src/pages/teacherDashboard/classes/class/UpdateStudentUser.tsx b/src/pages/teacherDashboard/classes/class/UpdateStudentUser.tsx index 6863957..56adf41 100644 --- a/src/pages/teacherDashboard/classes/class/UpdateStudentUser.tsx +++ b/src/pages/teacherDashboard/classes/class/UpdateStudentUser.tsx @@ -17,7 +17,7 @@ import { } from "../../../../api/user" import { classIdSchema, userIdSchema } from "../../../../app/schemas" import { NewPasswordField } from "../../../../components/form" -import { type ResetStudentsPasswordState } from "./ResetStudentsPassword" +import { type ResetStudentsPasswordState } from "../resetStudentsPassword/ResetStudentsPassword" import { paths } from "../../../../routes" import { useResetStudentsPasswordMutation } from "../../../../api/student" import { useRetrieveClassQuery } from "../../../../api/klass" diff --git a/src/pages/teacherDashboard/classes/class/ResetStudentsPassword.tsx b/src/pages/teacherDashboard/classes/resetStudentsPassword/ResetStudentsPassword.tsx similarity index 100% rename from src/pages/teacherDashboard/classes/class/ResetStudentsPassword.tsx rename to src/pages/teacherDashboard/classes/resetStudentsPassword/ResetStudentsPassword.tsx