Refactor: Update project handling and sharing functionalities; integrate shared projects retrieval; enhance user data structure and loading mechanisms; improve input handling in MultiEmailInvite component; adjust wall generation callbacks in DXF processing.

This commit is contained in:
2025-06-30 15:54:41 +05:30
parent 84101905ff
commit 898179c2c1
14 changed files with 337 additions and 186 deletions

View File

@@ -12,7 +12,7 @@ const SelectFloorPlan: React.FC = () => {
// Access layout state and state setters
const { currentLayout, setLayout } = useLayoutStore();
// Access DXF-related states and setters
const { setDfxUploaded, setDfxGenerate, setObjValue, objValue } =
const { setDfxUploaded, setDxfWallGenerate, setObjValue, objValue } =
useDfxUpload();
const { activeLayer } = useActiveLayer();
const { wallThickness, wallHeight, insideMaterial, outsideMaterial } = useBuilderStore();
@@ -63,7 +63,7 @@ const SelectFloorPlan: React.FC = () => {
if (parsedFile !== undefined) {
getWallPointsFromBlueprint({
parsedData: parsedFile,
setDfxGenerate,
setDxfWallGenerate,
objValue,
wallThickness, wallHeight, outsideMaterial, insideMaterial, activeLayer, addWall, walls
});