feat: update ContentLogin to use async getStateInfo and add site_name to city data

This commit is contained in:
hamed
2026-07-02 10:01:59 +03:30
parent 1b76c3846b
commit e6158cfe84
2 changed files with 34 additions and 2 deletions
+2 -2
View File
@@ -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} />;
}