added carousel image on post on mainFeed
This commit is contained in:
@@ -6,7 +6,7 @@ import { useAuthContext } from "../context/AuthContext";
|
||||
import PostOnFeed from "../pages/PostOnFeed";
|
||||
import CloseIcon from "./icons/CloseIcon";
|
||||
|
||||
export default function PostDetailModal({ postId, onClose, onImageClick, onLocationClick, onAuthRequired }) {
|
||||
export default function PostDetailModal({ postId, onClose, onLocationClick, onAuthRequired }) {
|
||||
const { t } = useTranslation();
|
||||
const { user } = useAuthContext();
|
||||
const [post, setPost] = useState(null);
|
||||
@@ -62,7 +62,6 @@ export default function PostDetailModal({ postId, onClose, onImageClick, onLocat
|
||||
<PostOnFeed
|
||||
ad={post}
|
||||
isOwner={isOwner}
|
||||
onImageClick={onImageClick}
|
||||
onLocationClick={onLocationClick}
|
||||
onAuthRequired={onAuthRequired}
|
||||
compact
|
||||
|
||||
Reference in New Issue
Block a user