changed names
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user