Skip to content

Commit

Permalink
feat(surau): update query
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan-helmy committed Jun 8, 2023
1 parent 1afe3fe commit 16735f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export default function Index() {
<p className="mt-4 text-xl text-white">
Discover Your Perfect Prayer Haven with Ease!
</p>
{/* Search bar component */}
<SearchBar />
<p className="z-0 mt-2 text-xs font-extralight italic text-white md:text-lg">
Can`t find your Surau?{" "}
Expand Down
1 change: 1 addition & 0 deletions src/server/api/routers/surau.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export const surauRouter = createTRPCRouter({
unique_name: {
contains: input.name,
},
is_approved: true,
},
include: {
state: true,
Expand Down

0 comments on commit 16735f9

Please sign in to comment.