fix bug structure

This commit is contained in:
hamid zarghami
2025-08-26 22:35:06 +03:30
parent c69d4ea60b
commit 2bc32e9d08
18 changed files with 726 additions and 192 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { FC } from 'react'
import { type FC } from 'react'
import LogoImage from '../../assets/images/logo.svg'
import LogoSmallImage from '../../assets/images/logo-small.svg'
import { useTranslation } from 'react-i18next'
+7 -7
View File
@@ -1,12 +1,12 @@
import axios from "../../../config/axios";
import {
CheckHasAccountPhoneType,
CheckHasAccountType,
LoginWithOtpType,
LoginWithPasswordType,
OtpVerifyType,
RefreshTokenType,
RegisterType,
type CheckHasAccountPhoneType,
type CheckHasAccountType,
type LoginWithOtpType,
type LoginWithPasswordType,
type OtpVerifyType,
type RefreshTokenType,
type RegisterType,
} from "../types/AuthTypes";
export const loginWithPassword = async (params: LoginWithPasswordType) => {
+1 -1
View File
@@ -1,5 +1,5 @@
import { create } from "zustand";
import { AuthStoreType } from "../types/AuthTypes";
import { AuthStoreType } from "../../auth/types/AuthTypes";
export const useAuthStore = create<AuthStoreType>((set) => ({
phone: "",