rm queryselector

pull/5370/head
bunsenstraat 3 years ago
parent 6c9f6ddb79
commit 6e9219dd80
  1. 4
      libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx

@ -35,8 +35,8 @@ const RemixUiVerticalIconsPanel = ({
dispatchScrollAction({
type: 'resize',
payload: {
scrollHeight: document.querySelector('#remixuiScrollable')?.scrollHeight,
clientHeight: document.querySelector('#remixuiScrollable')?.clientHeight,
scrollHeight: scrollableRef.current?.scrollHeight,
clientHeight: scrollableRef.current?.clientHeight,
scrollState: false
}
})

Loading…
Cancel
Save