Skip to content

Commit 05e55dd

Browse files
committed
fix lint
1 parent 005005b commit 05e55dd

File tree

1 file changed

+1
-2
lines changed
  • src/frontend/src/pages/FinancePage/FinanceComponents

1 file changed

+1
-2
lines changed

src/frontend/src/pages/FinancePage/FinanceComponents/PieChart.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import ArrowDropUp from '@mui/icons-material/ArrowDropUp';
55
import PlayArrowIcon from '@mui/icons-material/PlayArrow';
66
import { Box } from '@mui/system';
77
import { Button, List, ListItem, Typography } from '@mui/material';
8-
import zIndex from '@mui/material/styles/zIndex';
98

109
interface FinancePieChartProps {
1110
totalBalance: number;
@@ -232,7 +231,7 @@ const FinancePieChart: React.FC<FinancePieChartProps> = ({
232231
/>
233232
</Pie>
234233
<Tooltip
235-
wrapperStyle={{ zIndex: 10 }}
234+
wrapperStyle={{ zIndex: 10 }} // added z index to make the div pop up in front of the legend items
236235
contentStyle={{
237236
backgroundColor: '#333',
238237
color: '#fff',

0 commit comments

Comments
 (0)