From 1d4f9adfc03ef095945ec91c5cd3a9a728df3437 Mon Sep 17 00:00:00 2001 From: Sajad Mirjalili Date: Sat, 29 Nov 2025 11:43:01 +0330 Subject: [PATCH] fix: build errors and version --- package.json | 2 +- .../components/AuthenticationSteps/CompleteSignUp.tsx | 5 +---- vite.config.d.ts | 2 +- vite.config.js | 10 +++++----- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 65954f7..53fe5a5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "harmony-club", "private": true, - "version": "0.0.0", + "version": "1.0.0", "type": "module", "scripts": { "dev": "vite", diff --git a/src/features/authentication/components/AuthenticationSteps/CompleteSignUp.tsx b/src/features/authentication/components/AuthenticationSteps/CompleteSignUp.tsx index 872dd88..a8c543a 100644 --- a/src/features/authentication/components/AuthenticationSteps/CompleteSignUp.tsx +++ b/src/features/authentication/components/AuthenticationSteps/CompleteSignUp.tsx @@ -4,10 +4,7 @@ import { useRef, useState, type ChangeEvent, type Dispatch } from 'react'; import { useTranslation } from 'react-i18next'; import { AuthenticationCard } from '../AuthenticationCard'; import { CountryCodeSelector } from '../../../../components/CountryCodeSelector'; -import { - sendSmsCodeCompleteUserInforamation, - sendSmsOtp, -} from '../../api/authorizationAPI'; +import { sendSmsCodeCompleteUserInforamation } from '../../api/authorizationAPI'; import type { CountryCode } from '@/types/commonTypes'; import { useApi } from '@/hooks/useApi'; import { replacePersianWithRealNumbers } from '@/utils/replacePersianWithRealNumbers'; diff --git a/vite.config.d.ts b/vite.config.d.ts index 2c646ae..340562a 100644 --- a/vite.config.d.ts +++ b/vite.config.d.ts @@ -1,2 +1,2 @@ -declare const _default: import('vite').UserConfig; +declare const _default: import("vite").UserConfig; export default _default; diff --git a/vite.config.js b/vite.config.js index e7bba8d..70ef262 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,10 +3,10 @@ import react from '@vitejs/plugin-react'; import path from 'path'; // https://vite.dev/config/ export default defineConfig({ - plugins: [react()], - resolve: { - alias: { - '@': path.resolve(__dirname, './src'), + plugins: [react()], + resolve: { + alias: { + '@': path.resolve(__dirname, './src'), + }, }, - }, });