-
+
+
diff --git a/components/crud/BlogRead.jsx b/components/crud/BlogRead.jsx
index 929da85..da0ba79 100644
--- a/components/crud/BlogRead.jsx
+++ b/components/crud/BlogRead.jsx
@@ -49,21 +49,19 @@ const BlogRead = ({ username }) => {
if (isAuth() && isAuth().role === 0) {
return (
-
+
+
);
} else if (isAuth() && isAuth().role === 1) {
return (
- <>
-
- >
+
);
}
diff --git a/components/profile/Avatar.jsx b/components/profile/Avatar.jsx
index df380ad..4d3c40b 100644
--- a/components/profile/Avatar.jsx
+++ b/components/profile/Avatar.jsx
@@ -1,8 +1,9 @@
import React from "react";
-const Avatar = ({ src, size, radius }) => {
+const Avatar = ({ src, size, radius, title = "" }) => {
return (
{
+
>
);
};
diff --git a/pages/profile/[username].jsx b/pages/profile/[username].jsx
index ba9cb62..dc3182e 100644
--- a/pages/profile/[username].jsx
+++ b/pages/profile/[username].jsx
@@ -49,6 +49,7 @@ const UserProfile = ({ user, blogs, query }) => {