fix(canvas/WorkspaceNode.tsx): add missing useMemo import

CI failure: "Cannot find name 'useMemo'" at line 363.
useMemo was called but not imported — likely dropped during refactor.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Molecule AI · core-uiux 2026-04-24 05:44:30 +00:00
parent 6a96641c37
commit 9f52ee1777

View File

@ -1,6 +1,6 @@
"use client";
import { useCallback } from "react";
import { useCallback, useMemo } from "react";
import { Handle, NodeResizer, Position, type NodeProps, type Node } from "@xyflow/react";
import { useCanvasStore, type WorkspaceNodeData } from "@/store/canvas";
import { showToast } from "@/components/Toaster";