From a548ae02c193346934ac9a78b8934423a1e7f968 Mon Sep 17 00:00:00 2001 From: drafish Date: Wed, 3 Jul 2024 16:39:32 +0800 Subject: [PATCH] rm svg --- .../MultipleContainers/components/Item/Item.tsx | 13 +------------ .../components/Item/components/Handle/Handle.tsx | 4 +--- .../components/Item/components/Remove/Remove.tsx | 4 +--- 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/apps/quick-dapp/src/components/MultipleContainers/components/Item/Item.tsx b/apps/quick-dapp/src/components/MultipleContainers/components/Item/Item.tsx index 4ae6c263d3..3184e94d75 100644 --- a/apps/quick-dapp/src/components/MultipleContainers/components/Item/Item.tsx +++ b/apps/quick-dapp/src/components/MultipleContainers/components/Item/Item.tsx @@ -3,17 +3,6 @@ import type { DraggableSyntheticListeners } from '@dnd-kit/core'; import type { Transform } from '@dnd-kit/utilities'; import { Handle } from './components/Handle'; -const removeIcon = ( - - - -); - export interface Props { dragOverlay?: boolean; disabled?: boolean; @@ -110,7 +99,7 @@ export const Item = React.memo( className={`d-flex justify-content-center align-items-center position-absolute border-0 rounded-circle item-remove`} onClick={onRemove} > - {removeIcon} + diff --git a/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Handle/Handle.tsx b/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Handle/Handle.tsx index 9cb3215303..e77ccd0a8b 100644 --- a/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Handle/Handle.tsx +++ b/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Handle/Handle.tsx @@ -11,9 +11,7 @@ export const Handle = forwardRef( data-cypress="draggable-handle" {...props} > - - - + ); } diff --git a/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Remove/Remove.tsx b/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Remove/Remove.tsx index 6bf8252f4f..c4c6c55b90 100644 --- a/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Remove/Remove.tsx +++ b/apps/quick-dapp/src/components/MultipleContainers/components/Item/components/Remove/Remove.tsx @@ -11,9 +11,7 @@ export function Remove(props: ActionProps) { background: 'rgba(255, 70, 70, 0.1)', }} > - - - + ); }