diff --git a/src/pages/editor/components/LayersPanel.tsx b/src/pages/editor/components/LayersPanel.tsx index 44e5f85..644275d 100644 --- a/src/pages/editor/components/LayersPanel.tsx +++ b/src/pages/editor/components/LayersPanel.tsx @@ -1,4 +1,4 @@ -import { DocumentText, Layer, Eye, Lock, Trash, ArrowRight2, Text, Shapes, Add, Copy } from 'iconsax-react' +import { DocumentText, Layer, Eye, Trash, ArrowRight2, Text, Shapes, Add, Copy } from 'iconsax-react' import { useEditorStore } from '../store/editorStore' import { clx } from '@/helpers/utils' import { useState } from 'react' @@ -12,7 +12,7 @@ type LayersPanelProps = { const LayersPanel = ({ isOpen, setIsOpen }: LayersPanelProps) => { const [activeTab, setActiveTab] = useState('pages') - const { objects, selectedObjectId, setSelectedObjectId, deleteObject } = useEditorStore() + const { objects, selectedObjectId, setSelectedObjectId, deleteObject, duplicateObject } = useEditorStore() const { pages, currentPageId, @@ -116,7 +116,7 @@ const LayersPanel = ({ isOpen, setIsOpen }: LayersPanelProps) => { -
+
@@ -234,11 +234,11 @@ const LayersPanel = ({ isOpen, setIsOpen }: LayersPanelProps) => {