import { toggleEqualHeight } from "../shared/helpFn"; import { Fragment, useEffect, useRef } from "@wordpress/element"; import LoopContent from "./loopContent"; const Render = ({ attributes, posts }) => { const { uniqueId, equalHeightEnable, catTabCategoryPosition, contentOnHover } = attributes; const containerRef = useRef(null); useEffect(() => { toggleEqualHeight(uniqueId, equalHeightEnable); }, [equalHeightEnable, uniqueId, []]); // const HtmlTag = gridTwoMasonryEnable ? Fragment : 'div'; const HtmlTag = "div"; return (
); }; export default Render;