Skip to content

Commit

Permalink
docs: 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbeann committed Jan 18, 2024
1 parent 6cbe6a7 commit 99cdd24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LecueNote/page/LeceuNotePage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ function LecueNotePage() {
const [contents, setContents] = useState('');
const [imgFile, setImgFile] = useState('');
const [imgFile2, setImgFile2] = useState<FileReader>();
const [clickedCategory, setclickedCategory] = useState(CATEGORY[0]);
const [clickedCategory, setClickedCategory] = useState(CATEGORY[0]);
const [clickedTextColor, setClickedTextColor] = useState(TEXT_COLOR_CHART[0]);
const [clickedBgColor, setclickedBgColor] = useState(BG_COLOR_CHART[0]);
const [clickedBgColor, setClickedBgColor] = useState(BG_COLOR_CHART[0]);
const [isIconClicked, setIsIconClicked] = useState(false);
const [fileName, setFileName] = useState(BG_COLOR_CHART[0]);
const [presignedUrl, setPresignedUrl] = useState('');
Expand All @@ -37,7 +37,7 @@ function LecueNotePage() {
const handleClickCategory = (
e: React.MouseEvent<HTMLButtonElement, MouseEvent>,
) => {
setclickedCategory(e.currentTarget.innerHTML);
setClickedCategory(e.currentTarget.innerHTML);
};

const handleChangeContents = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
Expand All @@ -54,7 +54,7 @@ function LecueNotePage() {
if (clickedCategory === '텍스트색') {
setClickedTextColor(e.currentTarget.id);
} else {
setclickedBgColor(e.currentTarget.id);
setClickedBgColor(e.currentTarget.id);
setIsIconClicked(false);
}
};
Expand Down

0 comments on commit 99cdd24

Please sign in to comment.