Skip to content

Commit aeac4ca

Browse files
authored
Refactor/#239-B: 한글 입력 소켓 메시지 적용 (#240)
1 parent 23a154f commit aeac4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/Mom/Block/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function Block({ id, onKeyDown, index }: BlockProps) {
154154

155155
const remoteInsertion = localInsertCRDT(previousLetterIndex, letter);
156156

157-
socket.emit('text-insertion', id, remoteInsertion);
157+
socket.emit(SOCKET_MESSAGE.BLOCK.INSERT_TEXT, id, remoteInsertion);
158158
});
159159
};
160160

0 commit comments

Comments
 (0)