Refactor ActionButton component

master^2
Tudor Stanciu 2024-03-25 03:13:28 +02:00
parent b3bdb38997
commit cbe251d776
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import React from "react";
import PropTypes from "prop-types";
import { IconButton, Tooltip } from "@mui/material";
const ActionButton = React.forwardRef((props, _ref) => {
const ActionButton = React.forwardRef(props => {
const { action, machine, callback, disabled } = props;
const id = `machine-item-${machine.machineId}-${action.code}`;
const handleActionClick = event => {