From dcb0b75ebe7b674b9451fa3f84345c74c755a947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aykut=20Sara=C3=A7?= Date: Thu, 17 Feb 2022 17:24:28 +0300 Subject: [PATCH] code cleanup --- src/containers/LiveEditor/CustomNode.tsx | 6 +----- src/containers/LiveEditor/index.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/containers/LiveEditor/CustomNode.tsx b/src/containers/LiveEditor/CustomNode.tsx index 0502c03..42b10ce 100644 --- a/src/containers/LiveEditor/CustomNode.tsx +++ b/src/containers/LiveEditor/CustomNode.tsx @@ -11,11 +11,7 @@ const StyledTextWrapper = styled.div` width: 100%; height: 100%; overflow: hidden; - - &:hover { - cursor: pointer; - stroke: white !important; - } + cursor: pointer; `; const StyledText = styled.pre<{ width: number; height: number }>` diff --git a/src/containers/LiveEditor/index.tsx b/src/containers/LiveEditor/index.tsx index 1582903..5b9ab02 100644 --- a/src/containers/LiveEditor/index.tsx +++ b/src/containers/LiveEditor/index.tsx @@ -111,18 +111,18 @@ export const LiveEditor: React.FC<{