Minority
@@ -139,7 +106,12 @@ const TweetCollectionAdminPanel = () => {
{dataList.map((row, index) => (
-
+
))}
diff --git a/client/src/components/Admin/index.jsx b/client/src/components/Admin/index.jsx
index 27804c88..a4e14b3f 100644
--- a/client/src/components/Admin/index.jsx
+++ b/client/src/components/Admin/index.jsx
@@ -1,11 +1,12 @@
+import { Outlet } from "react-router";
import Nav from "../Nav";
-import TweetCollectionAdminPanel from "./TweetCollectionAdminPanel";
const Admin = () => {
return (
-
+ {/* */}
+
);
};
diff --git a/client/src/constants.js b/client/src/constants.js
index bcb9429c..8fc78141 100644
--- a/client/src/constants.js
+++ b/client/src/constants.js
@@ -1,3 +1,41 @@
const baseAddress = "http://localhost:8000";
-
-export { baseAddress };
+const columns = [
+ { field: "verify", headerName: "Verify" },
+ {
+ field: "text",
+ headerName: "text",
+ },
+ {
+ field: "covid_stats",
+ headerName: "covid \n stats",
+ },
+ {
+ field: "vaccination",
+ headerName: "vaccination",
+ },
+ {
+ field: "covid_politics",
+ headerName: "covid \n politics",
+ },
+ {
+ field: "humour",
+ headerName: "humour",
+ },
+ {
+ field: "lockdown",
+ headerName: "lockdown",
+ },
+ {
+ field: "civic_views",
+ headerName: "civic \n views",
+ },
+ {
+ field: "life_during_pandemic",
+ headerName: "life during \npandemic",
+ },
+ {
+ field: "covid_waves_and_variants",
+ headerName: "covid waves \n and \n variants",
+ },
+];
+export { baseAddress,columns };