clean up: remove unnecessary empty lines across various files

This commit is contained in:
ahmadrezabd
2025-11-20 09:48:50 +03:30
parent db5fc8f636
commit 33d26f5af9
34 changed files with 95 additions and 5 deletions
+3
View File
@@ -85,3 +85,6 @@
+2
View File
@@ -25,3 +25,5 @@ CHANGELOG.md
*.md
!public/**/*.md
+3
View File
@@ -28,3 +28,6 @@ module.exports = {
+3
View File
@@ -44,3 +44,6 @@ workbox-*.js
+3
View File
@@ -19,3 +19,6 @@
+3
View File
@@ -58,3 +58,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
+2
View File
@@ -74,3 +74,5 @@ docker-compose down
2. پورت پیش‌فرض در `docker-compose.yml` روی 3000 تنظیم شده است
3. برای تغییر پورت، فایل `docker-compose.yml` را ویرایش کنید
+3
View File
@@ -60,3 +60,6 @@
+3
View File
@@ -105,3 +105,6 @@ src/
+3
View File
@@ -207,3 +207,6 @@ MIT
+2
View File
@@ -40,3 +40,5 @@ server {
}
}
+1
View File
@@ -15,3 +15,4 @@ export default {
+3
View File
@@ -25,3 +25,6 @@
+3
View File
@@ -85,3 +85,6 @@ fontFamily: {
+3
View File
@@ -26,3 +26,6 @@
+3
View File
@@ -36,3 +36,6 @@
+3
View File
@@ -10,3 +10,6 @@

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

+3
View File
@@ -22,3 +22,6 @@ export const isAuthenticatedAtom = atom<boolean>((get) => {
+3
View File
@@ -9,3 +9,6 @@ export const themeAtom = atom<Theme>('light');
+3
View File
@@ -53,3 +53,6 @@ export { Avatar, AvatarImage, AvatarFallback };
+3
View File
@@ -57,3 +57,6 @@ export { Button, buttonVariants };
+3
View File
@@ -64,3 +64,6 @@ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
+3
View File
@@ -32,3 +32,6 @@ export { Input };
+3
View File
@@ -27,3 +27,6 @@ export { Label };
+3
View File
@@ -130,3 +130,6 @@ export {
+3
View File
@@ -40,3 +40,6 @@ export function Toaster() {
+3
View File
@@ -124,3 +124,6 @@ npm run build
+1 -2
View File
@@ -72,8 +72,7 @@ export function useAuth() {
emailRedirectTo: `${window.location.origin}/account`
}
});
if (error) throw error;
return { data, error: null };
return { data, error };
};
const signIn = async (email: string, password: string) => {
+3
View File
@@ -10,3 +10,6 @@ export * from '../utils/cn';
+3
View File
@@ -19,3 +19,6 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
+3 -3
View File
@@ -55,12 +55,12 @@ export default function SignupPage() {
if (result.error) {
let errorMessage = 'خطا در ثبت نام';
if (result.error.message.includes('User already registered')) {
if ((result.error.message as any).includes('User already registered')) {
errorMessage = 'این ایمیل قبلاً ثبت شده است. لطفا وارد شوید.';
} else if (result.error.message.includes('Password')) {
} else if ((result.error.message as any).includes('Password')) {
errorMessage = 'رمز عبور باید حداقل 6 کاراکتر باشد.';
} else {
errorMessage = result.error.message;
errorMessage = (result.error.message as any);
}
toast({
+3
View File
@@ -15,3 +15,6 @@ export function cn(...inputs: ClassValue[]) {
+3
View File
@@ -36,3 +36,6 @@ export const TOAST_DURATION = {
+3
View File
@@ -19,3 +19,6 @@ interface ImportMeta {