refactor: simplify login component imports and remove unused dependencies
- Removed the `Divider` import and unnecessary icons (`GoogleIcon`, `MicrosoftIcon`) from the login component, streamlining the code. - Improved code readability by consolidating imports, enhancing maintainability. These changes contribute to a cleaner and more efficient login component, making it easier for developers to work with the codebase.
This commit is contained in:
@@ -3,14 +3,11 @@ import {
|
|||||||
FieldPasswordInput,
|
FieldPasswordInput,
|
||||||
Checkbox,
|
Checkbox,
|
||||||
Button,
|
Button,
|
||||||
Divider,
|
|
||||||
Select,
|
Select,
|
||||||
Image,
|
Image,
|
||||||
notifications,
|
notifications,
|
||||||
} from '@repo/ui/components';
|
} from '@repo/ui/components';
|
||||||
import { Lock, Apple, LogInIcon, UserRound, Globe } from 'lucide-react';
|
import { Lock, LogInIcon, UserRound, Globe } from 'lucide-react';
|
||||||
import { GoogleIcon } from './components/google-icon';
|
|
||||||
import { MicrosoftIcon } from './components/microsoft-icon';
|
|
||||||
import { RightSection } from './components/right-section';
|
import { RightSection } from './components/right-section';
|
||||||
import { useTranslation, registerModuleNamespace } from '@repo/core-i18n';
|
import { useTranslation, registerModuleNamespace } from '@repo/core-i18n';
|
||||||
import { AppStorageKey, appStorage } from '../../../core/storage/local';
|
import { AppStorageKey, appStorage } from '../../../core/storage/local';
|
||||||
|
|||||||
Reference in New Issue
Block a user