Update package versions for improved stability

This commit updates the versions of "@types/node", "react-hook-form", and "@tanstack/react-query-next-experimental" packages throughout the application. These updates include minor version changes that improve the stability and compatibility of these libraries within the app.
This commit is contained in:
giancarlo
2024-05-05 14:39:31 +07:00
parent d7d3693f41
commit ca4932e351
13 changed files with 105 additions and 90 deletions

View File

@@ -10,6 +10,7 @@ import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuLabel,
DropdownMenuSub,
DropdownMenuSubContent,
DropdownMenuSubTrigger,
@@ -94,19 +95,33 @@ export function SubMenuModeToggle() {
);
return (
<DropdownMenuSub>
<DropdownMenuSubTrigger>
<span className={'flex w-full items-center space-x-2'}>
<Icon theme={resolvedTheme} />
<>
<DropdownMenuSub>
<DropdownMenuSubTrigger
className={
'hidden w-full items-center justify-between space-x-2 lg:flex'
}
>
<span className={'flex space-x-2'}>
<Icon theme={resolvedTheme} />
<span>
<Trans i18nKey={'common:theme'} />
<span>
<Trans i18nKey={'common:theme'} />
</span>
</span>
</span>
</DropdownMenuSubTrigger>
</DropdownMenuSubTrigger>
<DropdownMenuSubContent>{MenuItems}</DropdownMenuSubContent>
</DropdownMenuSub>
<DropdownMenuSubContent>{MenuItems}</DropdownMenuSubContent>
</DropdownMenuSub>
<div className={'lg:hidden'}>
<DropdownMenuLabel>
<Trans i18nKey={'common:theme'} />
</DropdownMenuLabel>
{MenuItems}
</div>
</>
);
}