mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-04 18:59:08 +01:00
don't set ready in effect
This commit is contained in:
parent
43138f754c
commit
7c03a58b1b
@ -96,7 +96,6 @@ function TileLayoutComponent({ tabAtom, contents, getCursorPoint }: TileLayoutPr
|
|||||||
// `animate` will be disabled until after the transforms have all applied the first time.
|
// `animate` will be disabled until after the transforms have all applied the first time.
|
||||||
const [animate, setAnimate] = useState(false);
|
const [animate, setAnimate] = useState(false);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setReady(false);
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
setAnimate(true);
|
setAnimate(true);
|
||||||
setReady(true);
|
setReady(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user