Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -8,7 +8,7 @@ import { safeJsonLd } from "@/lib/sanitize";
|
||||
import { imageUrl } from "@/helper";
|
||||
|
||||
const API_URL = process.env.NEXT_PUBLIC_API_URL;
|
||||
const FALLBACK_IMG = "https://nobat724.com/assets/images/logo.png";
|
||||
const FALLBACK_IMG = "/assets/images/og-image.png";
|
||||
|
||||
const getDoctor = cache(async (slug) => {
|
||||
if (!slug || slug === "undefined") return null;
|
||||
|
||||
Reference in New Issue
Block a user