From 2a0ca26c8c005a5eb5f2c48eff254e92006da8d4 Mon Sep 17 00:00:00 2001 From: NB <47492535+altmshfkgudtjr@users.noreply.github.com> Date: Mon, 19 Apr 2021 00:30:34 +0900 Subject: [PATCH] Modifed style --- src/components/note/highlight/PageNum.tsx | 21 --------------------- src/containers/menu/commons/Highlight.tsx | 3 --- 2 files changed, 24 deletions(-) delete mode 100644 src/components/note/highlight/PageNum.tsx diff --git a/src/components/note/highlight/PageNum.tsx b/src/components/note/highlight/PageNum.tsx deleted file mode 100644 index ec819af..0000000 --- a/src/components/note/highlight/PageNum.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import styled from 'styled-components' -// lib -import palette from 'lib/styles/palette' - -const PageNum = ({ num }: Props) => { - return {num}p -} - -const Content = styled.span` - min-width: 32px; - margin-right: 16px; - font-size: 14px; - font-weight: 500; - color: ${palette.gray4}; -`; - -interface Props { - num: number; -} - -export default PageNum \ No newline at end of file diff --git a/src/containers/menu/commons/Highlight.tsx b/src/containers/menu/commons/Highlight.tsx index 27e9f65..4812c52 100644 --- a/src/containers/menu/commons/Highlight.tsx +++ b/src/containers/menu/commons/Highlight.tsx @@ -3,7 +3,6 @@ import { useDispatch } from 'react-redux' import Wrapper from 'components/note/highlight/Wrapper' import Title from 'components/note/highlight/Title' import Post from 'components/note/highlight/Post' -import PageNum from 'components/note/highlight/PageNum' // slices import { updateHighlight } from 'slices/book' // utils @@ -50,8 +49,6 @@ const Highlight = ({ return ( - -
{highlight.chpaterName}