mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-18 13:34:06 +01:00
Merge remote-tracking branch 'origin/back-end' into back-end
This commit is contained in:
commit
3d1b7e1f54
@ -1,5 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import React, { Suspense } from "react";
|
||||
import { useSearchParams } from "next/navigation";
|
||||
import { createSupabaseClient } from "@/lib/supabase/clientComponentClient";
|
||||
import { useQuery } from "@supabase-cache-helpers/postgrest-react-query";
|
||||
@ -8,7 +9,7 @@ import { Separator } from "@/components/ui/separator";
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { getBusinessAndProject } from "@/lib/data/businessQuery";
|
||||
|
||||
export default function Find() {
|
||||
function FindContent() {
|
||||
const searchParams = useSearchParams();
|
||||
const query = searchParams.get("query");
|
||||
|
||||
@ -78,3 +79,11 @@ export default function Find() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default function Find() {
|
||||
return (
|
||||
<Suspense fallback={<p>Loading search parameters...</p>}>
|
||||
<FindContent />
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user