feat: update ContentLogin to use async getStateInfo and add site_name to city data
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import RegisterPage from "@/components/register";
|
||||
import { getStateInfo } from "@/lib/getStateInfo";
|
||||
|
||||
function ContentLogin() {
|
||||
const { matchedCity } = getStateInfo();
|
||||
async function ContentLogin() {
|
||||
const { matchedCity } = await getStateInfo();
|
||||
|
||||
return <RegisterPage matchedCity={matchedCity} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user