Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d3814d

Browse files
committed
Fix lint
1 parent c5d16d5 commit 7d3814d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/theme/overrides.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const getOverrides = ({ palette, breakpoints }: Theme): Overrides => {
4040
},
4141
contained: {
4242
boxShadow: "none",
43-
color: palette.text?.primary,
43+
color: palette.text.primary,
4444
backgroundColor: "hsl(223, 27%, 3%)",
4545
"&:hover": {
4646
boxShadow: "none",
@@ -98,12 +98,12 @@ export const getOverrides = ({ palette, breakpoints }: Theme): Overrides => {
9898
},
9999
MuiTableCell: {
100100
head: {
101-
color: palette.text?.secondary,
101+
color: palette.text.secondary,
102102
},
103103
root: {
104104
fontFamily: MONOSPACE_FONT_FAMILY,
105105
fontSize: 16,
106-
background: palette.background?.paper,
106+
background: palette.background.paper,
107107
borderBottom: `1px solid ${palette.divider}`,
108108
padding: 8,
109109
// This targets the first+last td elements, and also the first+last elements
@@ -128,7 +128,7 @@ export const getOverrides = ({ palette, breakpoints }: Theme): Overrides => {
128128
},
129129

130130
"& input:-webkit-autofill": {
131-
WebkitBoxShadow: `0 0 0 1000px ${palette.background?.paper} inset`,
131+
WebkitBoxShadow: `0 0 0 1000px ${palette.background.paper} inset`,
132132
},
133133
"&:hover .MuiOutlinedInput-notchedOutline": {
134134
borderColor: palette.divider,

0 commit comments

Comments
 (0)