From dd5c292db3c5cdf0df2a7d3a491e1e7b9220db79 Mon Sep 17 00:00:00 2001 From: Pete <63212232+joystickjockey@users.noreply.github.com> Date: Wed, 1 Feb 2023 15:15:43 +1000 Subject: Update SplitButton.js Fix warnings when building in IntelliJ IDEA --- modern/src/common/components/SplitButton.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modern/src/common') diff --git a/modern/src/common/components/SplitButton.js b/modern/src/common/components/SplitButton.js index 114370c7..84876f15 100644 --- a/modern/src/common/components/SplitButton.js +++ b/modern/src/common/components/SplitButton.js @@ -4,7 +4,9 @@ import { } from '@mui/material'; import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown'; -const SplitButton = ({ fullWidth, variant, color, disabled, onClick, options, selected, setSelected }) => { +const SplitButton = ({ + fullWidth, variant, color, disabled, onClick, options, selected, setSelected, +}) => { const anchorRef = useRef(); const [menuAnchorEl, setMenuAnchorEl] = useState(null); -- cgit v1.2.3