add loading all page & change bugs
This commit is contained in:
@@ -5,17 +5,17 @@ import AboutDcotor from "./cards/AboutDcotor"
|
||||
import Comments from "./cards/comments"
|
||||
import Locations from "./cards/locations"
|
||||
|
||||
function DetailDoctor({ doctor }) {
|
||||
function DetailDoctor({ doctor, loading }) {
|
||||
return (
|
||||
<div className="w-full lg:w-[59%]">
|
||||
<div className="hidden lg:flex">
|
||||
<Share />
|
||||
</div>
|
||||
<Title doctor={doctor} />
|
||||
<Title doctor={doctor} loading={loading} />
|
||||
<Link />
|
||||
<AboutDcotor doctor={doctor} />
|
||||
<Locations doctor={doctor} />
|
||||
<Comments doctor={doctor} />
|
||||
<AboutDcotor loading={loading} doctor={doctor} />
|
||||
<Locations loading={loading} doctor={doctor} />
|
||||
<Comments loading={loading} doctor={doctor} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user