Skip to content

Commit 3c73c7c

Browse files
committed
[#143] refactor: onBlur 이벤트 합치기
1 parent 9e11dd2 commit 3c73c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: frontend/src/components/atoms/BlockContent/BlockContent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ function BlockContent(blockDTO: Block) {
123123
if (blockDTO.value !== content) {
124124
await handleBlock(content);
125125
}
126+
onBlurHandler();
126127
};
127128
const updateValue = handleValue;
128129

@@ -291,7 +292,6 @@ function BlockContent(blockDTO: Block) {
291292
onDrop={dropHandler}
292293
onDragEnter={() => setDragOverToggle(true)}
293294
onDragLeave={() => setDragOverToggle(false)}
294-
onBlur={onBlurHandler}
295295
>
296296
{listBlockType(blockDTO, listCnt.current)}
297297
<div

0 commit comments

Comments
 (0)