Renamed ClientPostView to CPostView in accordance with file name

This commit is contained in:
Andreas 2024-07-02 21:18:49 +02:00
parent d1f6fc7090
commit 95f4ec94cf
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ export type PostViewProps = {
actions: PostServerActions;
};
export function ClientPostView({
export function CPostView({
// children,
headings,
posts,

View File

@ -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}