diff options
author | Pete <63212232+joystickjockey@users.noreply.github.com> | 2023-02-01 15:15:43 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 15:15:43 +1000 |
commit | dd5c292db3c5cdf0df2a7d3a491e1e7b9220db79 (patch) | |
tree | bac4ad50d730e0a64dc68a86de40e5d758d19587 /modern/src | |
parent | 100cd0a2b472313ca67db99dd67f462bf6e4cd6f (diff) | |
download | trackermap-web-dd5c292db3c5cdf0df2a7d3a491e1e7b9220db79.tar.gz trackermap-web-dd5c292db3c5cdf0df2a7d3a491e1e7b9220db79.tar.bz2 trackermap-web-dd5c292db3c5cdf0df2a7d3a491e1e7b9220db79.zip |
Update SplitButton.js
Fix warnings when building in IntelliJ IDEA
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/common/components/SplitButton.js | 4 |
1 files changed, 3 insertions, 1 deletions
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); |