Skip to content

Commit

Permalink
[#143] refactor: onBlur 이벤트 합치기
Browse files Browse the repository at this point in the history
  • Loading branch information
YiSoJeong committed Dec 19, 2020
1 parent 9e11dd2 commit 3c73c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ function BlockContent(blockDTO: Block) {
if (blockDTO.value !== content) {
await handleBlock(content);
}
onBlurHandler();
};
const updateValue = handleValue;

Expand Down Expand Up @@ -291,7 +292,6 @@ function BlockContent(blockDTO: Block) {
onDrop={dropHandler}
onDragEnter={() => setDragOverToggle(true)}
onDragLeave={() => setDragOverToggle(false)}
onBlur={onBlurHandler}
>
{listBlockType(blockDTO, listCnt.current)}
<div
Expand Down

0 comments on commit 3c73c7c

Please sign in to comment.