import React from "react";
import CreatePost from "./CreatePost";
import DisplayPost from "./DisplayPost";
import { useSelector } from "react-redux";
const PostView = () => {
const posts = useSelector((state) => state.posts);
return (
<>
{posts.map((post, index) => {
return (
);
})}
>
);
};
export default PostView;