From c9459199e3c62fde1ce7875fedb248f83f64cad5 Mon Sep 17 00:00:00 2001 From: Buyankhuu Tsolmonkhuu Date: Tue, 3 Oct 2023 14:55:09 -0700 Subject: [PATCH] chore:applied prettier on files that were pulled --- src/api/supabase/queries /createClient.ts | 2 +- src/app/layout.tsx | 14 +++--- src/app/login.tsx | 4 +- src/app/page.tsx | 44 +++++++++++-------- src/app/screens/profile /profileScreen.tsx | 12 ++--- .../screens/storefront/storefrontScreen.tsx | 12 ++--- 6 files changed, 46 insertions(+), 42 deletions(-) diff --git a/src/api/supabase/queries /createClient.ts b/src/api/supabase/queries /createClient.ts index e576c68f..53892337 100644 --- a/src/api/supabase/queries /createClient.ts +++ b/src/api/supabase/queries /createClient.ts @@ -17,4 +17,4 @@ const supabase = createClient( process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY, ); -export default supabase; \ No newline at end of file +export default supabase; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 80589675..8815ba1b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,22 +1,22 @@ -import './globals.css' -import type { Metadata } from 'next' -import { Inter } from 'next/font/google' +import './globals.css'; +import type { Metadata } from 'next'; +import { Inter } from 'next/font/google'; -const inter = Inter({ subsets: ['latin'] }) +const inter = Inter({ subsets: ['latin'] }); export const metadata: Metadata = { title: 'Shanti Project', description: 'Application Created by Blueprint', -} +}; export default function RootLayout({ children, }: { - children: React.ReactNode + children: React.ReactNode; }) { return ( {children} - ) + ); } diff --git a/src/app/login.tsx b/src/app/login.tsx index b1fb9968..e4c6bc60 100644 --- a/src/app/login.tsx +++ b/src/app/login.tsx @@ -1,5 +1,3 @@ export default function Home() { - return ( -

yo

- ) + return

yo

; } diff --git a/src/app/page.tsx b/src/app/page.tsx index 06658775..7a63b83a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,22 +1,28 @@ -'use client' - -import LoginForm from "./components/LoginForm"; -import { GlobalStyle, Fullscreen, LoginBox, LoginContent, WelcomeSign, Button } from "./screens/loginScreen/styles" +'use client'; +import LoginForm from './components/LoginForm'; +import { + GlobalStyle, + Fullscreen, + LoginBox, + LoginContent, + WelcomeSign, + Button, +} from './screens/loginScreen/styles'; export default function App() { - return ( -
- - - - - Welcome - - - - - -
- ) -} \ No newline at end of file + return ( +
+ + + + + Welcome + + + + + +
+ ); +} diff --git a/src/app/screens/profile /profileScreen.tsx b/src/app/screens/profile /profileScreen.tsx index 75e28ebf..2d316dfe 100644 --- a/src/app/screens/profile /profileScreen.tsx +++ b/src/app/screens/profile /profileScreen.tsx @@ -1,7 +1,7 @@ export default function Profile() { - return ( -
-
Profile
-
- ); - } \ No newline at end of file + return ( +
+
Profile
+
+ ); +} diff --git a/src/app/screens/storefront/storefrontScreen.tsx b/src/app/screens/storefront/storefrontScreen.tsx index 440f35f3..3004c266 100644 --- a/src/app/screens/storefront/storefrontScreen.tsx +++ b/src/app/screens/storefront/storefrontScreen.tsx @@ -1,7 +1,7 @@ export default function Storefront() { - return ( -
-
storefront
-
- ); - } \ No newline at end of file + return ( +
+
storefront
+
+ ); +}