Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
abrenneke committed Oct 14, 2023
1 parent 5355c55 commit 9ed51eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/components/NodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export const NodeEditor: FC<NodeEditorProps> = ({ selectedNode, onDeselect }) =>
updateNode({ ...selectedNode, title });
});

const nodeColorChanged = useStableCallback((color: string | undefined) => {
const nodeColorChanged = useStableCallback((color: { bg: string; border: string } | undefined) => {
updateNode({ ...selectedNode, visualData: { ...selectedNode.visualData, color } });
});

Expand Down

0 comments on commit 9ed51eb

Please sign in to comment.