change text location all page
This commit is contained in:
@@ -2,9 +2,11 @@ import Pageguide from "@/app/component/Pageguide";
|
||||
import clinics from "@/data/clinics.json";
|
||||
import ItemClinic from "./ItemClinic";
|
||||
import Pagination from "@/app/component/Pagination";
|
||||
import { useProvince } from "@/context/ProvinceProvider";
|
||||
|
||||
function List({ loading }) {
|
||||
const listPage = ["کلینیک ها", "اهواز"];
|
||||
const { isProvinceInclude } = useProvince();
|
||||
const listPage = ["کلینیک ها", isProvinceInclude?.name || ""];
|
||||
|
||||
return (
|
||||
<div className="padding-responsive pt-[20px]">
|
||||
|
||||
Reference in New Issue
Block a user