remove upload document

This commit is contained in:
hamid zarghami
2026-01-04 09:05:36 +03:30
parent 5297d684c5
commit b33b7a953d
2 changed files with 0 additions and 7 deletions
@@ -1,7 +1,6 @@
import { useEditorStore, type ToolType } from "@/pages/editor/store/editorStore"; import { useEditorStore, type ToolType } from "@/pages/editor/store/editorStore";
import { import {
ImageUpload, ImageUpload,
DocumentUpload,
VideoInput, VideoInput,
LinkInput, LinkInput,
SelectInstruction, SelectInstruction,
@@ -51,10 +50,6 @@ const ToolInstructions = ({ tool }: ToolInstructionsProps) => {
return <ImageUpload onImageUpload={handleImageUpload} />; return <ImageUpload onImageUpload={handleImageUpload} />;
} }
if (tool === "document") {
return <DocumentUpload />;
}
if (tool === "video") { if (tool === "video") {
return <VideoInput />; return <VideoInput />;
} }
@@ -1,6 +1,5 @@
import { clx } from "@/helpers/utils"; import { clx } from "@/helpers/utils";
import { import {
DocumentUpload,
Element, Element,
Gallery, Gallery,
Grid8, Grid8,
@@ -22,7 +21,6 @@ const tools: Array<{ icon: (color: string, variant?: "Bold" | "Outline" | "Broke
{ icon: (color, variant) => <Gallery size={20} color={color} variant={variant} />, tool: "image", label: "تصویر" }, { icon: (color, variant) => <Gallery size={20} color={color} variant={variant} />, tool: "image", label: "تصویر" },
{ icon: (color, variant) => <Link2 size={20} color={color} variant={variant} />, tool: "link", label: "لینک" }, { icon: (color, variant) => <Link2 size={20} color={color} variant={variant} />, tool: "link", label: "لینک" },
{ icon: (color, variant) => <VideoSquare size={20} color={color} variant={variant} />, tool: "video", label: "ویدیو" }, { icon: (color, variant) => <VideoSquare size={20} color={color} variant={variant} />, tool: "video", label: "ویدیو" },
{ icon: (color, variant) => <DocumentUpload size={20} color={color} variant={variant} />, tool: "document", label: "سند" },
{ icon: (color, variant) => <Element size={20} color={color} variant={variant} />, tool: "arrow", label: "پیکان" }, { icon: (color, variant) => <Element size={20} color={color} variant={variant} />, tool: "arrow", label: "پیکان" },
{ icon: (color, variant) => <Minus size={20} color={color} variant={variant} />, tool: "line", label: "خط" }, { icon: (color, variant) => <Minus size={20} color={color} variant={variant} />, tool: "line", label: "خط" },
{ icon: (color, variant) => <Sticker size={20} color={color} variant={variant} />, tool: "sticker", label: "استیکر" }, { icon: (color, variant) => <Sticker size={20} color={color} variant={variant} />, tool: "sticker", label: "استیکر" },