aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components
diff options
context:
space:
mode:
authorPete <63212232+joystickjockey@users.noreply.github.com>2023-02-01 15:15:43 +1000
committerGitHub <noreply@github.com>2023-02-01 15:15:43 +1000
commitdd5c292db3c5cdf0df2a7d3a491e1e7b9220db79 (patch)
treebac4ad50d730e0a64dc68a86de40e5d758d19587 /modern/src/common/components
parent100cd0a2b472313ca67db99dd67f462bf6e4cd6f (diff)
downloadtrackermap-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/common/components')
-rw-r--r--modern/src/common/components/SplitButton.js4
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);