Skip to content

Commit d05b466

Browse files
merge main
1 parent ac212d5 commit d05b466

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

apps/web/client/src/app/project/[id]/_components/editor-bar/hooks/use-color-update.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export const useColorUpdate = ({ elementStyleKey, onValueChange }: ColorUpdateOp
1515

1616
const handleColorUpdate = useCallback(
1717
(newValue: Color | TailwindColor) => {
18-
console.log('handleColorUpdate', newValue);
1918
try {
2019
if (newValue instanceof Color) {
2120
// Handle direct Color object updates

apps/web/client/src/app/project/[id]/_components/editor-bar/inputs/input-color.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const InputColor = ({ color, elementStyleKey, onColorChange }: InputColor
3939
console.error('Error updating color:', error);
4040
}
4141
},
42-
[onColorChange],
42+
[onColorChange, handleColorUpdate],
4343
);
4444

4545
const handleInputChange = useCallback(

0 commit comments

Comments
 (0)