changed names

This commit is contained in:
2026-03-05 16:20:00 +08:00
parent b3f7427e95
commit fcaa310502
7 changed files with 14 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ import globalStyle from "../../globalStyle.module.css";
import createAgentStyle from "./styles.module.css";
import Prompts from "@/app/components/prompts/Prompts";
const Page = () => {
const ViewAgentPage = () => {
const [isChecked, setIsChecked] = useState(false);
const handleCheckboxChange = (e) => {
@@ -103,4 +103,4 @@ const Page = () => {
);
};
export default Page;
export default ViewAgentPage;

View File

@@ -9,7 +9,7 @@ import Prompts from "@/app/components/prompts/Prompts";
import useAgentForm from "@/app/hooks/useAgentForm";
import Alert from "@/app/components/alerts/Alert";
const Page = () => {
const AddAgentPage = () => {
const [isChecked, setIsChecked] = useState(false);
const handleCheckboxChange = (e) => {
@@ -136,4 +136,4 @@ const Page = () => {
);
};
export default Page;
export default AddAgentPage;

View File

@@ -9,7 +9,7 @@ import Prompts from "@/app/components/prompts/Prompts";
import useRoleForm from "@/app/hooks/useRolesForm";
import Alert from "@/app/components/alerts/Alert";
const Page = () => {
const AddCredentialPage = () => {
const {
register,
handleSubmit,
@@ -125,4 +125,4 @@ const Page = () => {
);
};
export default Page;
export default AddCredentialPage;

View File

@@ -5,7 +5,7 @@ import editRoleStyle from "./styles.module.css";
import TextField from "@/app/components/fields/textfield";
import Permissions from "@/app/components/permissions/Permissions";
const page = () => {
const ViewRolePage = () => {
const sampleData = [
{ permission: "organization.delete" },
{ permission: "user.create" },
@@ -86,4 +86,4 @@ const page = () => {
);
};
export default page;
export default ViewRolePage;

View File

@@ -8,7 +8,7 @@ import Permissions from "@/app/components/permissions/Permissions";
import useUserForm from "@/app/hooks/useUserForm";
import Alert from "@/app/components/alerts/Alert";
const page = () => {
const AddRolePage = () => {
const {
register,
handleSubmit,
@@ -99,4 +99,4 @@ const page = () => {
);
};
export default page;
export default AddRolePage;

View File

@@ -8,7 +8,7 @@ import TextField from "@/app/components/fields/textfield";
import SelectField from "@/app/components/select/SelectField";
import Permissions from "@/app/components/permissions/Permissions";
const Page = () => {
const ViewUserPage = () => {
const sampleData = [
{ permission: "organization.delete" },
{ permission: "user.create" },
@@ -104,4 +104,4 @@ const Page = () => {
);
};
export default Page;
export default ViewUserPage;

View File

@@ -8,7 +8,7 @@ import SelectField from "@/app/components/select/SelectField";
import Permissions from "@/app/components/permissions/Permissions";
import useUserForm from "@/app/hooks/useUserForm";
import Alert from "@/app/components/alerts/Alert";
const page = () => {
const AddUserPage = () => {
const {
register,
handleSubmit,
@@ -109,4 +109,4 @@ const page = () => {
);
};
export default page;
export default AddUserPage;