Files
Dwinzo_Demo/app/src/modules/builder/wall/Instances/instance/wallInstance.tsx
2025-06-10 15:28:23 +05:30

16 lines
353 B
TypeScript

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