From c4ff4e04f3e11d59b371c91f1fe52525c57f63f6 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Mon, 19 Feb 2024 15:03:40 +1100 Subject: [PATCH] Fix dropdown color --- client/src/components/app-bar/FeaturePickerButton.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 (