MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / Home

Function Home

Video 132/next-navigation-tutorial/app/page.js:6–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { useSearchParams } from "next/navigation";
5
6export default function Home() {
7 const searchparms = useSearchParams()
8 return (
9 <div>
10 Hey this is our page and blog is {searchparms.get('blog')} and utm source is {searchparms.get('utm_source')}
11 </div>
12 );
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected