From b8ae012c5fad793c441cafcf55d79af2ef52e881 Mon Sep 17 00:00:00 2001 From: Githmi Hashara Date: Wed, 18 Sep 2024 23:25:08 +0530 Subject: [PATCH] Refactor --- app/actions/getCurrentUser.ts | 2 +- app/layout.tsx | 2 +- app/page.tsx | 2 +- prisma/schema.prisma | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/actions/getCurrentUser.ts b/app/actions/getCurrentUser.ts index 168d35a..674e9ae 100644 --- a/app/actions/getCurrentUser.ts +++ b/app/actions/getCurrentUser.ts @@ -30,4 +30,4 @@ export default async function getCurrentUser() { } catch (error: any) { return null } -} +} \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx index 11d119a..ad4ac38 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -45,4 +45,4 @@ export default async function RootLayout({ ); -} +} \ No newline at end of file diff --git a/app/page.tsx b/app/page.tsx index 871b3aa..d78d878 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -41,4 +41,4 @@ const Home = async ({searchParams}: HomeProps)=> { ) } -export default Home; +export default Home; \ No newline at end of file diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 1f546c5..b385929 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -87,3 +87,5 @@ model Reservation { listing Listing @relation(fields: [listingId], references: [id], onDelete: Cascade) } + +