Skip to content

Commit f0d7bbd

Browse files
committed
formatting
1 parent 5485bda commit f0d7bbd

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Eplant/views/WorldEFP/MapTypeSelector.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,11 @@ const MapTypeSelector = ({ mapTypeId, onSelect }: MapTypeSelectorProps) => {
8686
color: theme.palette.text.primary,
8787
padding: theme.spacing(0.5, 1),
8888
'&:hover': {
89-
backgroundColor: alpha(
90-
theme.palette.background.active,
91-
0.45
92-
),
89+
backgroundColor: alpha(theme.palette.background.active, 0.45),
9390
},
9491
...(mapTypeId === type && {
9592
fontWeight: 600,
96-
backgroundColor: alpha(
97-
theme.palette.background.active,
98-
0.6
99-
),
93+
backgroundColor: alpha(theme.palette.background.active, 0.6),
10094
borderRadius: theme.spacing(0.75),
10195
'&:hover': {
10296
backgroundColor: alpha(

0 commit comments

Comments
 (0)