refactor: remove FEATURE flags for doctor ratings and sharing in components
This commit is contained in:
@@ -11,7 +11,6 @@ import Telegram from "@/components/icons/Telegram";
|
||||
import Aparat from "@/components/icons/Aparat";
|
||||
import Youtube from "@/components/icons/Youtube";
|
||||
import Linkedin from "@/components/icons/Linkedin";
|
||||
import { FEATURES } from "@/config/features";
|
||||
|
||||
const SOCIAL_ICONS = {
|
||||
instagram: Instagram,
|
||||
@@ -23,7 +22,7 @@ const SOCIAL_ICONS = {
|
||||
|
||||
function Title({ doctor }) {
|
||||
const isUnclaimed = doctor?.owner_status !== "claimed";
|
||||
const hasRating = FEATURES.doctorRatings && Number(doctor?.point) > 0;
|
||||
const hasRating = Number(doctor?.point) > 0;
|
||||
return (
|
||||
<div className="flex flex-col lg:flex-row items-center justify-start gap-[8px] lg:gap-[32px]">
|
||||
<CircularLoading width={100} height={100}>
|
||||
|
||||
Reference in New Issue
Block a user