mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Some type fixes needed for react 18 (#65600)
some type fixes needed for react 18
This commit is contained in:
@@ -27,7 +27,7 @@ export const PanelEditorTabs = React.memo(({ panel, dashboard, tabs, onChangeTab
|
||||
const styles = useStyles2(getStyles);
|
||||
|
||||
const instrumentedOnChangeTab = useCallback(
|
||||
(tab) => {
|
||||
(tab: PanelEditorTab) => {
|
||||
if (!tab.active) {
|
||||
reportInteraction('panel_editor_tabs_changed', { tab_id: tab.id });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user