mirror of
https://github.com/WDI-Ideas/rubix-admin-panel.git
synced 2026-04-28 21:35:50 +00:00
discription bug
This commit is contained in:
@@ -64,7 +64,7 @@ const AddBlogsAndArticles = () => {
|
||||
const formData = new FormData();
|
||||
formData.append("author_name", data.author_name);
|
||||
formData.append("author_designation", data.author_designation);
|
||||
// formData.append("meta_description", data.meta_description);
|
||||
formData.append("meta_description", data.meta_description);
|
||||
formData.append("title", data.title);
|
||||
formData.append("category", data.category);
|
||||
formData.append("summary", data.summary);
|
||||
@@ -362,7 +362,7 @@ const AddBlogsAndArticles = () => {
|
||||
</FormControl>
|
||||
|
||||
|
||||
{/* <FormControl isRequired className="mb-3">
|
||||
<FormControl isRequired className="mb-3">
|
||||
<FormLabel className="web-text-large fw-bold rubix-text-dark">
|
||||
Blog description
|
||||
</FormLabel>
|
||||
@@ -383,7 +383,7 @@ const AddBlogsAndArticles = () => {
|
||||
{errors.meta_description.message}
|
||||
</span>
|
||||
)}
|
||||
</FormControl> */}
|
||||
</FormControl>
|
||||
|
||||
<FormControl isRequired className="mb-3">
|
||||
<FormLabel className="web-text-large fw-bold rubix-text-dark">
|
||||
@@ -720,7 +720,7 @@ const AddBlogsAndArticles = () => {
|
||||
isLoading={isLoading}
|
||||
spinner={<Loader01 />}
|
||||
color={"whitesmoke"}
|
||||
backgroundColor={"purple.700"}
|
||||
backgroundColor={"purple.900"}
|
||||
_hover={{
|
||||
backgroundColor: "purple.800",
|
||||
}}
|
||||
|
||||
@@ -85,7 +85,7 @@ const EditBlogsAndArticles = () => {
|
||||
);
|
||||
setValue("author_name", blog?.author_name);
|
||||
setValue("author_designation", blog?.author_designation);
|
||||
// setValue("meta_description", blog?.meta_description);
|
||||
setValue("meta_description", blog?.meta_description);
|
||||
setValue("title", blog?.title);
|
||||
setValue("category", blog?.category?.blog_category);
|
||||
setValue("summary", blog?.summary);
|
||||
@@ -101,7 +101,7 @@ const EditBlogsAndArticles = () => {
|
||||
const formData = new FormData();
|
||||
formData.append("author_name", data.author_name);
|
||||
formData.append("author_designation", data.author_designation);
|
||||
// formData.append("meta_description", data.meta_description);
|
||||
formData.append("meta_description", data.meta_description);
|
||||
formData.append("title", data.title);
|
||||
formData.append("category", data.category);
|
||||
formData.append("summary", data.summary);
|
||||
@@ -385,7 +385,7 @@ const EditBlogsAndArticles = () => {
|
||||
)}
|
||||
</FormControl>
|
||||
|
||||
{/* <FormControl isRequired className="mb-3">
|
||||
<FormControl isRequired className="mb-3">
|
||||
<FormLabel className="web-text-large fw-bold rubix-text-dark">
|
||||
Blog description
|
||||
</FormLabel>
|
||||
@@ -406,7 +406,7 @@ const EditBlogsAndArticles = () => {
|
||||
{errors.meta_description.message}
|
||||
</span>
|
||||
)}
|
||||
</FormControl> */}
|
||||
</FormControl>
|
||||
|
||||
<FormControl isRequired className="mb-3">
|
||||
<FormLabel className="web-text-large fw-bold rubix-text-dark">
|
||||
@@ -765,7 +765,7 @@ const EditBlogsAndArticles = () => {
|
||||
isLoading={isLoading01}
|
||||
spinner={<Loader01 />}
|
||||
color={"whitesmoke"}
|
||||
backgroundColor={"purple.700"}
|
||||
backgroundColor={"purple.900"}
|
||||
_hover={{
|
||||
backgroundColor: "purple.800",
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user