From cbe251d7762357b3422a7398316906a791cea885 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 25 Mar 2024 03:13:28 +0200 Subject: [PATCH] Refactor ActionButton component --- .../src/features/machines/components/common/ActionButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/features/machines/components/common/ActionButton.js b/frontend/src/features/machines/components/common/ActionButton.js index daa0f0f..8a32a74 100644 --- a/frontend/src/features/machines/components/common/ActionButton.js +++ b/frontend/src/features/machines/components/common/ActionButton.js @@ -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 => {