mirror of
https://github.com/coaidev/coai.git
synced 2025-05-23 23:10:13 +09:00
fix life cycle
This commit is contained in:
parent
b9d268ab0d
commit
167e80f0dc
@ -54,11 +54,6 @@ function RichEditor({
|
||||
});
|
||||
|
||||
preview.style.height = `${target.clientHeight}px`;
|
||||
|
||||
return () => {
|
||||
target.removeEventListener("transitionstart", listener);
|
||||
clearInterval(task);
|
||||
};
|
||||
}, [input]);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user