almost change all layouts to ssr
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import Content from "./Content";
|
||||
// import { getStateInfo } from "@/lib/getStateInfo";
|
||||
|
||||
function Header({ name }) {
|
||||
// const { matchedCity } = getStateInfo();
|
||||
function Header({ matchedCity, name }) {
|
||||
|
||||
return (
|
||||
<div className="bg-[#FFF] rounded-lg w-full mx-auto">
|
||||
<Content
|
||||
// matchedCity={matchedCity}
|
||||
matchedCity={matchedCity}
|
||||
name={name}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user