Skip to content

Commit

Permalink
Fix ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Apr 18, 2023
1 parent 72847c5 commit efef24a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import React, { useState, useRef, useEffect, useLayoutEffect } from 'react';
import { EuiLoadingChart, useEuiTheme } from '@elastic/eui';
import { EuiLoadingChart } from '@elastic/eui';
import classNames from 'classnames';

import {
Expand Down Expand Up @@ -59,7 +59,7 @@ const Item = React.forwardRef<HTMLDivElement, Props>(
useDashboardContainerContext();
const scrollToPanelId = select((state) => state.componentState.scrollToPanelId);
const highlightPanelId = select((state) => state.componentState.highlightPanelId);
const theme = useEuiTheme();

const expandPanel = expandedPanelId !== undefined && expandedPanelId === id;
const hidePanel = expandedPanelId !== undefined && expandedPanelId !== id;
const classes = classNames({
Expand Down

0 comments on commit efef24a

Please sign in to comment.