mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Chore: Some type fixes needed for react 18 (#65600)
some type fixes needed for react 18
This commit is contained in:
@@ -85,7 +85,7 @@ export const DashboardPicker = ({ dashboardUid, panelId, isOpen, onChange, onDis
|
||||
const selectedDashboardIsInPageResult = selectedDashboardIndex >= 0;
|
||||
|
||||
const scrollToItem = useCallback(
|
||||
(node) => {
|
||||
(node: FixedSizeList) => {
|
||||
const canScroll = selectedDashboardIndex >= 0;
|
||||
|
||||
if (isDefaultSelection && canScroll) {
|
||||
|
||||
Reference in New Issue
Block a user