Skip to content

Commit

Permalink
Fix TextField background theme
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Dec 29, 2023
1 parent 746c90c commit 5ec1166
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react-components/lib/alert-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
LinearProgress,
LinearProgressProps,
TextField,
Theme,
Typography,
Divider,
useMediaQuery,
Expand All @@ -15,9 +16,10 @@ import DialogContent from '@mui/material/DialogContent';
import DialogTitle from '@mui/material/DialogTitle';
import { makeStyles, createStyles } from '@mui/styles';

const useStyles = makeStyles(() =>
const useStyles = makeStyles((theme: Theme) =>
createStyles({
textField: {
background: theme.palette.background.default,
pointerEvents: 'none',
},
}),
Expand Down

0 comments on commit 5ec1166

Please sign in to comment.