Changes done in constant folder
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import React from "react";
|
||||
import { TableProps } from "@/types/types";
|
||||
|
||||
|
||||
|
||||
type TableProps = {
|
||||
headers: string[];
|
||||
rows: React.ReactNode[][];
|
||||
};
|
||||
|
||||
export default function Table({ headers, rows }: TableProps) {
|
||||
return (
|
||||
|
||||
@@ -11,7 +11,7 @@ import Button from "@/components/common/button";
|
||||
import StatCard from "@/components/common/dashStatCard";
|
||||
import InfoBanner from '@/components/common/infoBanner';
|
||||
import Table from '@/components/common/dataTable';
|
||||
import { auditLogHeaders, auditLogRows, trustedDeviceHeaders, trustedDeviceRows } from "@/constants/tabledata";
|
||||
import { auditLogHeaders, auditLogRows, trustedDeviceHeaders, trustedDeviceRows } from "@/constants/adminTableData";
|
||||
|
||||
|
||||
export default function SecurityPortal() {
|
||||
|
||||
@@ -11,7 +11,7 @@ import Button from "@/components/common/button";
|
||||
|
||||
import Table from '@/components/common/dataTable';
|
||||
|
||||
import { siteHeaders, siteRows } from "@/constants/adminTableDatat";
|
||||
import { siteHeaders, siteRows } from "@/constants/adminTableData";
|
||||
|
||||
|
||||
export default function SitePortal() {
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
import Button from "@/components/common/button";
|
||||
|
||||
import Table from '@/components/common/dataTable';
|
||||
import { organizationHeaders, organizationRows } from "@/constants/adminTableDatat";
|
||||
import { organizationHeaders, organizationRows } from "@/constants/adminTableData";
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
} from "lucide-react";
|
||||
import Button from "@/components/common/button";
|
||||
import Table from '@/components/common/dataTable';
|
||||
import { userHeaders, userRows } from '@/constants/adminTableDatat';
|
||||
import { userHeaders, userRows } from '@/constants/adminTableData';
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user