change data blog item and clinic item & change pages clinic and clinic to ssr & remove loading & handle pagination page clinics

This commit is contained in:
Ehsan
2025-06-02 06:04:49 +03:30
parent e292176a61
commit 0217e5e67e
35 changed files with 194 additions and 276 deletions
+1 -2
View File
@@ -2,7 +2,7 @@
import { useState } from "react";
import ItemUser from "./ItemUser";
function Comment({ data, loading }) {
function Comment({ data }) {
const [list, setList] = useState(data?.comments);
const [update, setUpdate] = useState(false);
@@ -21,7 +21,6 @@ function Comment({ data, loading }) {
data={item}
update={update}
setList={setList}
loading={loading}
setUpdate={setUpdate}
/>
))}