From 8c80e0f38e31bb6d7367311d1308846923412679 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 11 Mar 2024 23:55:41 +0700 Subject: [PATCH] fixed linting --- src/widgets/action-editor/ui/ActionEditor.tsx | 1 - src/widgets/chain-editor/ui/ChainEditor.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/widgets/action-editor/ui/ActionEditor.tsx b/src/widgets/action-editor/ui/ActionEditor.tsx index 8242f09..af87c2c 100644 --- a/src/widgets/action-editor/ui/ActionEditor.tsx +++ b/src/widgets/action-editor/ui/ActionEditor.tsx @@ -61,7 +61,6 @@ export default function ActionEditor({ const [loading, setLoading] = useState(false); const [imageUrl, setImageUrl] = useState(null); - console.log(imageUrl); const [action, setAction] = useState( initialAction ?? { diff --git a/src/widgets/chain-editor/ui/ChainEditor.tsx b/src/widgets/chain-editor/ui/ChainEditor.tsx index 9be04ef..c6135ce 100644 --- a/src/widgets/chain-editor/ui/ChainEditor.tsx +++ b/src/widgets/chain-editor/ui/ChainEditor.tsx @@ -101,8 +101,6 @@ export default function ChainEditor({ chain }: ChainEditorProps) { className="no-scrollbar flex grow flex-col items-center gap-y-24 overflow-y-scroll pb-20 pt-8" > {chain.actions.map((action, index) => { - if (action.actionType === "comment") console.log(action); - if (action.actionType === "comment") { const attachmentType = getActionAttachmentType(action);