We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf1bf5 commit a54374aCopy full SHA for a54374a
packages/react/src/Panels/WorkspacePanel.tsx
@@ -241,7 +241,7 @@ function PreviewsSection({
241
const [panelMinSize, setPanelMinSize] = useState(10);
242
243
useEffect(() => {
244
- const panelGroup: any = document.querySelector('[data-panel-group-id="right-panel-group"]');
+ const panelGroup = document.querySelector('div[data-panel-group-id="right-panel-group"]' as 'div');
245
246
if (!panelGroup) {
247
return;
0 commit comments