Files
Dwinzo_Demo/app/src/modules/builder/wall/Instances/instance/wallInstance.tsx

16 lines
353 B
TypeScript
Raw Normal View History

2025-06-10 15:28:23 +05:30
import { useToggleView } from "../../../../../store/builder/store";
import Wall from "./wall"
function WallInstance({ wall }: { readonly wall: Wall }) {
const { toggleView } = useToggleView();
return (
<>
{!toggleView && (
<Wall wall={wall} />
)}
</>
)
}
export default WallInstance