diff --git a/frontend/src/Pages/Edit/index.jsx b/frontend/src/Pages/Edit/index.jsx index c4ce0e9..ed93c65 100644 --- a/frontend/src/Pages/Edit/index.jsx +++ b/frontend/src/Pages/Edit/index.jsx @@ -182,7 +182,7 @@ export const Edit = () => { value={data?.title} inputProps={{ className: "font-gara text-2xl" }} /> -
+
{ return (
-
+
Create New Blog
@@ -131,7 +131,7 @@ export const NewBlog = () => { required inputProps={{ className: "font-gara text-2xl" }} /> -
+
{ }, [blogdata]); return ( -
-
- {imgsrc !== null ? ( -
- Thumbnail +
+
+
+ {imgsrc !== null ? ( +
+ Thumbnail +
+ ) : null} +
+ {blogdata?.title}
- ) : null} -
- {blogdata?.title} -
-
- {readingTime(String(blogdata?.content), 50).text} -
-
- - {blogdata?.name} - - - {moment(blogdata?.createdon).fromNow().toString()} - -
-
- -
-
- - - {blogdata?.tag} +
+ {readingTime(String(blogdata?.content), 50).text} +
+
+ + {blogdata?.name} - + + {moment(blogdata?.createdon).fromNow().toString()} + +
+
+ +
+
+ + + {blogdata?.tag} + + +
Share on