rm queryselector

pull/1964/head
bunsenstraat 3 years ago
parent a6125df4f6
commit 841a853486
  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