Resolve linting errors after upgrades

This commit is contained in:
J. Ryan Stinnett 2021-01-20 13:49:15 +00:00
parent 84b1f2e6c6
commit d78bc98521
7 changed files with 7 additions and 5 deletions

View file

@ -56,7 +56,7 @@ const LeftPanelWidget: React.FC<IProps> = ({ onResize }) => {
const [height, setHeight] = useLocalStorageState("left-panel-widget-height", INITIAL_HEIGHT);
const [expanded, setExpanded] = useLocalStorageState("left-panel-widget-expanded", true);
useEffect(onResize, [expanded]);
useEffect(onResize, [expanded, onResize]);
const [onFocus, isActive, ref] = useRovingTabIndex();
const tabIndex = isActive ? 0 : -1;