F #5422: Fix tabs component (#2038)

This commit is contained in:
Sergio Betanzos authored and GitHub committed 2022-05-12 16:05:42 +02:00
1 parent 4092379f0f
commit 6e2f29df49
1 file changed
+3 -2
@@ -22,6 +22,7 @@ import {
TabsProps,
Tab as MTab,
Fade,
Stack,
} from '@mui/material'
import { WarningCircledOutline } from 'iconoir-react'
@@ -125,7 +126,7 @@ const Tabs = ({
)
return (
<>
<Stack height={1} overflow="auto">
<Fade in timeout={300}>
{renderTabs}
</Fade>
@@ -137,7 +138,7 @@ const Tabs = ({
{...tabs.find(({ value }, idx) => (value ?? idx) === tabSelected)}
/>
)}
</>
</Stack>
)
}