move custum shape to shapes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user