fix: remove setting up viewport height to derived from grid element (#1673)
This commit is contained in:
parent
ad9436c7cf
commit
4ca22c4e98
@ -295,11 +295,10 @@ export const Orderbook = ({
|
||||
return;
|
||||
}
|
||||
const {
|
||||
contentRect: { width, height },
|
||||
contentRect: { width },
|
||||
} = entries[0];
|
||||
headerElement.current.style.width = `${width}px`;
|
||||
footerElement.current.style.width = `${width}px`;
|
||||
setViewportHeight(height);
|
||||
},
|
||||
[headerElement, footerElement]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user