Refactor code and update dependencies

Rearranged imports for better organization and readability across multiple files. Updated the `react-i18next` dependency to version 15.0.1 in various `package.json` files. Adjusted formatting in multiple TypeScript files to ensure code style consistency.
This commit is contained in:
gbuomprisco
2024-08-11 12:04:49 +02:00
parent e3503d8d47
commit babdecb78f
34 changed files with 2460 additions and 2385 deletions

View File

@@ -44,7 +44,7 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "^7.52.2",
"react-i18next": "^15.0.0",
"react-i18next": "^15.0.1",
"sonner": "^1.5.0",
"zod": "^3.23.8"
},

View File

@@ -103,7 +103,7 @@ export function AccountSelector({
role="combobox"
aria-expanded={open}
className={cn(
'dark:shadow-primary/10 group w-full lg:w-auto min-w-0 lg:max-w-fit px-2',
'dark:shadow-primary/10 group w-full min-w-0 px-2 lg:w-auto lg:max-w-fit',
{
'justify-start': !collapsed,
'justify-center': collapsed,

View File

@@ -93,7 +93,7 @@ export function PersonalAccountDropdown({
)}
>
<ProfileAvatar
className={'border border-transparent group-hover:border-primary/10'}
className={'group-hover:border-primary/10 border border-transparent'}
displayName={displayName ?? user?.email ?? ''}
pictureUrl={personalAccountData?.picture_url}
/>