Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
GithmiHashara committed Sep 18, 2024
1 parent 32df118 commit b8ae012
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/actions/getCurrentUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export default async function getCurrentUser() {
} catch (error: any) {
return null
}
}
}
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ export default async function RootLayout({
</body>
</html>
);
}
}
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ const Home = async ({searchParams}: HomeProps)=> {
)
}

export default Home;
export default Home;
2 changes: 2 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,5 @@ model Reservation {
listing Listing @relation(fields: [listingId], references: [id], onDelete: Cascade)
}



0 comments on commit b8ae012

Please sign in to comment.