Skip to content

Commit 9f2f36f

Browse files
committed
fix: test errors
1 parent 433432f commit 9f2f36f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/ColorBox/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ import useTranslate from '../../helpers/useTranslate';
2424

2525
const useStyles = makeStyles(theme => ({
2626
root: {
27-
backgroundColor: theme.palette.background.paper,
27+
// Ugly fix for beta 1
28+
backgroundColor: theme.palette ? theme.palette.background.paper : 'fff',
2829
position: 'relative',
2930
width: 'min-content',
3031
height: 'min-content',

0 commit comments

Comments
 (0)