diff --git a/components/form/blog/blog-form.tsx b/components/form/blog/blog-form.tsx index 7c3bb504..687b2d44 100644 --- a/components/form/blog/blog-form.tsx +++ b/components/form/blog/blog-form.tsx @@ -201,7 +201,7 @@ export default function FormBlog() { return; } - const blogId = response?.data?.data.id; + const blogId = response?.data?.data?.id; if (blogId) { if (thumbnail) { const formMedia = new FormData(); diff --git a/components/landing-page/event-calender.tsx b/components/landing-page/event-calender.tsx index 151e48ff..32252217 100644 --- a/components/landing-page/event-calender.tsx +++ b/components/landing-page/event-calender.tsx @@ -244,6 +244,8 @@ const EventCalender = () => { {event.title}
diff --git a/components/landing-page/search-section-new.tsx b/components/landing-page/search-section-new.tsx index d1729b4d..a8cc5d15 100644 --- a/components/landing-page/search-section-new.tsx +++ b/components/landing-page/search-section-new.tsx @@ -83,10 +83,12 @@ const ScrollableContent = () => {

- {t("exploration", { defaultValue: "Exploration" })} {t("and", { defaultValue: "And" })} + {t("exploration", { defaultValue: "Exploration" })}  + {t("and", { defaultValue: "And" })} -  {t("download", { defaultValue: "Download" })} {t("coverage", { defaultValue: "Coverage" })} +  {t("download", { defaultValue: "Download" })}  + {t("coverage", { defaultValue: "Coverage" })} {" "}

@@ -118,11 +120,21 @@ const ScrollableContent = () => { - {t("allContent", { defaultValue: "All Content" })} - {t("image", { defaultValue: "Image" })} - {t("video", { defaultValue: "Video" })} - {t("text", { defaultValue: "Text" })} - {t("audio", { defaultValue: "Audio" })} + + {t("allContent", { defaultValue: "All Content" })} + + + {t("image", { defaultValue: "Image" })} + + + {t("video", { defaultValue: "Video" })} + + + {t("text", { defaultValue: "Text" })} + + + {t("audio", { defaultValue: "Audio" })} + @@ -142,7 +154,9 @@ const ScrollableContent = () => { setSearch(e.target.value)} /> @@ -150,7 +164,7 @@ const ScrollableContent = () => {