diff --git a/.gitignore b/.gitignore index 3b1ce5d009..e60f25a967 100755 --- a/.gitignore +++ b/.gitignore @@ -70,7 +70,6 @@ tsconfig.tsbuildinfo .jest/secret-env.js infra/pgdata/ -infra/metabase-plugins/ tmp/ details.md diff --git a/client/containers/AdminDashboard/AdminDashboard.tsx b/client/containers/AdminDashboard/AdminDashboard.tsx deleted file mode 100644 index 8aeb766499..0000000000 --- a/client/containers/AdminDashboard/AdminDashboard.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import React from 'react'; - -import IframeResizer from 'iframe-resizer-react'; - -import './adminDashboard.scss'; - -type Props = { - impactData: any; -}; - -const AdminDashboard = (props: Props) => { - const { impactData } = props; - const { baseToken } = impactData; - const dashUrl = `http://localhost:3030/embed/dashboard/${baseToken}#bordered=false&titled=false`; - const getOffset = (width) => { - return width < 960 ? 45 : 61; - }; - return ( -
| Title | +Subdomain | +Created | + {showSpam &&Spam | } +Description | +
|---|---|---|---|---|
| {c.title} | ++ + {c.subdomain} + + | ++ {new Date(c.createdAt).toLocaleDateString( + undefined, + { + year: 'numeric', + month: 'short', + day: 'numeric', + }, + )} + | + {showSpam && ( +
+ {c.isSpam && (
+ |
+ )}
+ {c.description} | +
No new communities in this period.
+ )} + > + )} +