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