file import updated
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
// Ushbu fayl loyiha structurasi uchun qo'shilgan. O'chirib tashlasangiz bo'ladi
|
|
||||||
export * from './useLoginForm';
|
|
||||||
export * from '../../../../shared/lib/formatPhone';
|
|
||||||
@@ -2,15 +2,12 @@
|
|||||||
|
|
||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
import { X } from 'lucide-react';
|
import { X } from 'lucide-react';
|
||||||
import {
|
|
||||||
formatPhone,
|
|
||||||
normalizeDigits,
|
|
||||||
} from '../../../../shared/lib/formatPhone';
|
|
||||||
import PhonePrefix from '../../../../shared/ui/phonePrefix';
|
|
||||||
import { MotionWrapper } from '../../../../shared/ui/motion';
|
|
||||||
import { useLoginForm } from '../lib/useLoginForm';
|
import { useLoginForm } from '../lib/useLoginForm';
|
||||||
import { useLoginModal, useRegisterModal } from '@/shared/zustand/auth';
|
import { useLoginModal, useRegisterModal } from '@/shared/zustand/auth';
|
||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
|
import { formatPhone, normalizeDigits } from '@/shared/lib/formatPhone';
|
||||||
|
import { MotionWrapper } from '@/shared/ui';
|
||||||
|
import PhonePrefix from '@/shared/ui/phonePrefix';
|
||||||
|
|
||||||
export function LoginForm() {
|
export function LoginForm() {
|
||||||
const [isFocused, setIsFocused] = useState(false);
|
const [isFocused, setIsFocused] = useState(false);
|
||||||
|
|||||||
1
src/shared/lib/index.ts
Normal file
1
src/shared/lib/index.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from './utils';
|
||||||
2
src/shared/ui/index.ts
Normal file
2
src/shared/ui/index.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export * from './motion';
|
||||||
|
export * from './phonePrefix';
|
||||||
Reference in New Issue
Block a user