Renamed file and updated imports
This commit is contained in:
parent
83f1cd3dae
commit
1e8a12789d
@ -9,7 +9,7 @@ import React, {
|
||||
useLayoutEffect,
|
||||
useRef
|
||||
} from "react";
|
||||
import EntityManagementTable from "../TableGen";
|
||||
import EntityManagementTable from "../EntityManagementTable";
|
||||
import toast from "react-hot-toast";
|
||||
import PostEditor, { EditorProps } from "./PostEditor";
|
||||
import {
|
||||
|
||||
@ -3,7 +3,7 @@ cache: 'no-store'
|
||||
import { tryFetchPosts } from "@/app/api/post/route";
|
||||
import { constructAPIUrl } from "@/util/Utils";
|
||||
import { ReactNode, useEffect } from "react";
|
||||
import EntityManagementTable from "../../../client/TableGen";
|
||||
import EntityManagementTable from "../../../client/EntityManagementTable";
|
||||
import PostTable from "@/components/client/admin/PostTable";
|
||||
import { deletePost, getPostsWithBuckets, updatePost } from "@/app/lib/actions/entityManagement/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/projectActions";
|
||||
|
||||
@ -3,7 +3,7 @@ cache: 'no-store'
|
||||
import { tryFetchPosts } from "@/app/api/post/route";
|
||||
import { constructAPIUrl } from "@/util/Utils";
|
||||
import { ReactNode, useEffect } from "react";
|
||||
import EntityManagementTable from "../../../client/TableGen";
|
||||
import EntityManagementTable from "../../../client/EntityManagementTable";
|
||||
import PostTable from "@/components/client/admin/PostTable";
|
||||
import { deletePost, getPostsWithBuckets, updatePost } from "@/app/lib/actions/entityManagement/postActions";
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/projectActions";
|
||||
@ -44,7 +44,6 @@ export default async function ProjectView(props:Props){
|
||||
|
||||
return <>
|
||||
<div className="w-[100%] min-h-fit bg-gray-100 overflow-scroll">
|
||||
<span className="flex flex-row flex-grow w-[100%] pl-2 pr-2"><h1 className="p-2 inline-block">Post Management</h1><section className="flex-grow"></section><button className='btn btn-success h-12 mt-auto mb-auto self-end'>New</button></span>
|
||||
<div className="w-[100%] m-auto">
|
||||
{(()=>{
|
||||
let a:string[] = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user