move custum shape to shapes

This commit is contained in:
hamid zarghami
2026-06-14 12:30:24 +03:30
parent 494a6a53fc
commit c6d1097a30
3 changed files with 11 additions and 6 deletions
@@ -9,7 +9,6 @@ import {
TextInstruction,
StickerInstruction,
GridInstruction,
CustomShapeInstruction,
} from "./instructions";
type ToolInstructionsProps = {
@@ -38,10 +37,10 @@ const ToolInstructions = ({ tool }: ToolInstructionsProps) => {
rectangle: <RectangleInstruction />,
line: <RectangleInstruction />,
arrow: <RectangleInstruction />,
"custom-shape": <RectangleInstruction />,
text: <TextInstruction />,
sticker: <StickerInstruction />,
grid: <GridInstruction />,
"custom-shape": <CustomShapeInstruction />,
};
return simpleInstructions[tool] ?? null;