mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: replace React.FC<Props> with simple function component (#54123)
This commit is contained in:
@@ -18,7 +18,7 @@ interface Props {
|
||||
dashboardId: number;
|
||||
}
|
||||
|
||||
export const DashboardLinksDashboard: React.FC<Props> = (props) => {
|
||||
export const DashboardLinksDashboard = (props: Props) => {
|
||||
const { link, linkInfo } = props;
|
||||
const listRef = useRef<HTMLUListElement>(null);
|
||||
const [dropdownCssClass, setDropdownCssClass] = useState('invisible');
|
||||
|
||||
Reference in New Issue
Block a user