Renamed ClientPostView to CPostView in accordance with file name
This commit is contained in:
parent
d1f6fc7090
commit
95f4ec94cf
@ -21,7 +21,7 @@ export type PostViewProps = {
|
||||
actions: PostServerActions;
|
||||
};
|
||||
|
||||
export function ClientPostView({
|
||||
export function CPostView({
|
||||
// children,
|
||||
headings,
|
||||
posts,
|
||||
|
||||
@ -12,7 +12,7 @@ import {
|
||||
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
|
||||
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
|
||||
import { handleActionResult } from "@/app/lib/actions/clientActionHandler";
|
||||
import { ClientPostView } from "@/views/admin/post";
|
||||
import { CPostView } from "@/views/admin/post";
|
||||
|
||||
type Props = {
|
||||
children?: ReactNode;
|
||||
@ -48,7 +48,7 @@ export async function PostView(props: Props) {
|
||||
return (
|
||||
<div className="w-[100%] min-h-fit bg-gray-100 overflow-scroll">
|
||||
<div className="w-[100%] m-auto">
|
||||
<ClientPostView
|
||||
<CPostView
|
||||
posts={posts ? posts : []}
|
||||
projects={projects}
|
||||
headings={headings}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user