diff --git a/client/src/components/app-bar/FeaturePickerButton.tsx b/client/src/components/app-bar/FeaturePickerButton.tsx index 8eecd98e..d547094d 100644 --- a/client/src/components/app-bar/FeaturePickerButton.tsx +++ b/client/src/components/app-bar/FeaturePickerButton.tsx @@ -1,5 +1,5 @@ import { KeyboardArrowDownOutlined } from "@mui/icons-material"; -import { Box, Button, ButtonProps } from "@mui/material"; +import { Box, Button, ButtonProps, useTheme } from "@mui/material"; import { Props } from "./FeaturePicker"; export function FeaturePickerButton({ @@ -8,6 +8,7 @@ export function FeaturePickerButton({ showArrow, ...props }: ButtonProps & Pick) { + const theme = useTheme(); return (