We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17dd8d commit 4809ab1Copy full SHA for 4809ab1
โclient/src/features/editor/components/block/Block.tsxโ
@@ -107,11 +107,6 @@ export const Block: React.FC<BlockProps> = memo(
107
block,
108
},
109
});
110
- const [textStyle, setTextStyle] = useState<string>(
111
- block.crdt.LinkedList.spread()
112
- .map((char) => char.style)
113
- .join(""),
114
- );
115
116
// ํ์ฌ ๋๋๊ทธ ์ค์ธ ๋ถ๋ชจ ๋ธ๋ก์ indent ํ์ธ
117
const isChildOfDragging = dragBlockList.some((item) => item === data.id);
0 commit comments