clean up: remove unnecessary empty lines across various files
This commit is contained in:
parent
db5fc8f636
commit
33d26f5af9
|
|
@ -85,3 +85,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,3 +25,5 @@ CHANGELOG.md
|
|||
*.md
|
||||
!public/**/*.md
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -28,3 +28,6 @@ module.exports = {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -44,3 +44,6 @@ workbox-*.js
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,3 +19,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -58,3 +58,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -74,3 +74,5 @@ docker-compose down
|
|||
2. پورت پیشفرض در `docker-compose.yml` روی 3000 تنظیم شده است
|
||||
3. برای تغییر پورت، فایل `docker-compose.yml` را ویرایش کنید
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -60,3 +60,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -105,3 +105,6 @@ src/
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -40,3 +40,5 @@ server {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -15,3 +15,4 @@ export default {
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,3 +25,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -85,3 +85,6 @@ fontFamily: {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -26,3 +26,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -36,3 +36,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,3 +10,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
|
@ -22,3 +22,6 @@ export const isAuthenticatedAtom = atom<boolean>((get) => {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -9,3 +9,6 @@ export const themeAtom = atom<Theme>('light');
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -53,3 +53,6 @@ export { Avatar, AvatarImage, AvatarFallback };
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -57,3 +57,6 @@ export { Button, buttonVariants };
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -64,3 +64,6 @@ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -32,3 +32,6 @@ export { Input };
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -27,3 +27,6 @@ export { Label };
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -130,3 +130,6 @@ export {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -40,3 +40,6 @@ export function Toaster() {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -124,3 +124,6 @@ npm run build
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -10,3 +10,6 @@ export * from '../utils/cn';
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,3 +19,6 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -15,3 +15,6 @@ export function cn(...inputs: ClassValue[]) {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -36,3 +36,6 @@ export const TOAST_DURATION = {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,3 +19,6 @@ interface ImportMeta {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue