Open last browse tab on back navigation

This commit is contained in:
schroda
2024-09-30 05:39:29 +02:00
parent f7e5388e2a
commit f3d187dc2d
2 changed files with 25 additions and 17 deletions

View File

@@ -25,10 +25,7 @@ const StyledTabsMenu = styled(Tabs)(({ theme }) => ({
}));
export const TabsMenu = forwardRef(
(
{ children, tabsCount, sx, ...props }: TabsProps & { tabsCount: number },
ref: ForwardedRef<HTMLDivElement | null>,
) => {
({ children, sx, ...props }: TabsProps, ref: ForwardedRef<HTMLDivElement | null>) => {
const { appBarHeight } = useNavBarContext();
return (