From 463a8cf6b9ddc2ca4a346bca96b8e582289f368f Mon Sep 17 00:00:00 2001 From: Vishnu Date: Fri, 22 Aug 2025 15:44:45 +0530 Subject: [PATCH] refactor: update SVG stroke properties to camelCase and clean up console logs --- app/src/components/icons/ContextMenuIcons.tsx | 8 ++++---- app/src/components/icons/ExportCommonIcons.tsx | 12 ++++++------ .../sidebarRight/resourceManagement/hrm/Hrm.tsx | 5 +++-- app/src/components/ui/list/List.tsx | 3 ++- .../undoRedo3D/undoRedo3DControls.tsx | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/app/src/components/icons/ContextMenuIcons.tsx b/app/src/components/icons/ContextMenuIcons.tsx index 3519c70..a48adf2 100644 --- a/app/src/components/icons/ContextMenuIcons.tsx +++ b/app/src/components/icons/ContextMenuIcons.tsx @@ -164,7 +164,7 @@ export function RenameIcon() { export function FocusIcon() { return ( - + ); @@ -239,7 +239,7 @@ export function PasteIcon() { export function ModifiersIcon() { return ( - + ); @@ -249,7 +249,7 @@ export function DeleteIcon() { return ( - + @@ -264,7 +264,7 @@ export function MoveIcon() { return ( - + diff --git a/app/src/components/icons/ExportCommonIcons.tsx b/app/src/components/icons/ExportCommonIcons.tsx index aea6263..a042b36 100644 --- a/app/src/components/icons/ExportCommonIcons.tsx +++ b/app/src/components/icons/ExportCommonIcons.tsx @@ -1372,7 +1372,7 @@ export const SuccessIcon = () => { export const AlertIcon = () => { return ( - + @@ -1407,7 +1407,7 @@ export const DecalInfoIcon = () => { return ( - + @@ -1459,8 +1459,8 @@ export const ListTaskIcon = () => { export const LocationPinIcon = () => { return ( - - + + ) } @@ -1468,7 +1468,7 @@ export const LocationPinIcon = () => { export const ClockThreeIcon = () => { return ( - + ) @@ -1494,7 +1494,7 @@ export const HourGlassIcon = () => { export const TargetIcon = () => { return ( - + ) } diff --git a/app/src/components/layout/sidebarRight/resourceManagement/hrm/Hrm.tsx b/app/src/components/layout/sidebarRight/resourceManagement/hrm/Hrm.tsx index cfcd693..2aeacc2 100644 --- a/app/src/components/layout/sidebarRight/resourceManagement/hrm/Hrm.tsx +++ b/app/src/components/layout/sidebarRight/resourceManagement/hrm/Hrm.tsx @@ -1,6 +1,6 @@ -import React, { useState } from 'react' +import { useState } from 'react' import { ClockThreeIcon, LocationPinIcon, TargetIcon } from '../../../../icons/ExportCommonIcons' -import NavigateCatagory from '../NavigateCatagory' +// import NavigateCatagory from '../NavigateCatagory' const Hrm = () => { const [selectedCard, setSelectedCard] = useState(0); @@ -105,6 +105,7 @@ const Hrm = () => {
setSelectedCard(index)} + key={index} >
diff --git a/app/src/components/ui/list/List.tsx b/app/src/components/ui/list/List.tsx index 7ed611a..53f0af1 100644 --- a/app/src/components/ui/list/List.tsx +++ b/app/src/components/ui/list/List.tsx @@ -250,7 +250,7 @@ const List: React.FC = ({ items = [], remove }) => { handleSelectZone(item.id); toggleZoneExpansion(item.id); }} - > + >
= ({ items = [], remove }) => { value={item.name} onRename={handleZoneNameChange} checkDuplicate={checkZoneNameDuplicate} + canEdit={item.id !== 'unassigned-zone'} />
diff --git a/app/src/modules/scene/controls/undoRedoControls/undoRedo3D/undoRedo3DControls.tsx b/app/src/modules/scene/controls/undoRedoControls/undoRedo3D/undoRedo3DControls.tsx index 9331320..3ca5633 100644 --- a/app/src/modules/scene/controls/undoRedoControls/undoRedo3D/undoRedo3DControls.tsx +++ b/app/src/modules/scene/controls/undoRedoControls/undoRedo3D/undoRedo3DControls.tsx @@ -20,7 +20,7 @@ function UndoRedo3DControls() { const { selectedVersion } = selectedVersionStore(); useEffect(() => { - console.log(undoStack, redoStack); + // console.log(undoStack, redoStack); }, [undoStack, redoStack]); useEffect(() => {