-

+ {/*

+ */}
+ {profilePicture ? (
+

+ ) : (
+

+ )}
-
{message.sender}
+ {/*
{message.senderNickname}
*/}
+
{message.sender}
{message.text}
diff --git a/containers/react/src/components/Profile/EditName.jsx b/containers/react/src/components/Profile/EditName.jsx
index 97f5690e..4111f064 100644
--- a/containers/react/src/components/Profile/EditName.jsx
+++ b/containers/react/src/components/Profile/EditName.jsx
@@ -62,6 +62,7 @@ const ModalEdit = ( handleClose ) => {
+
)
}
diff --git a/containers/react/src/components/Profile/Logout.jsx b/containers/react/src/components/Profile/Logout.jsx
new file mode 100644
index 00000000..dd422844
--- /dev/null
+++ b/containers/react/src/components/Profile/Logout.jsx
@@ -0,0 +1,15 @@
+
+
+
+function Logout(){
+
+ localStorage.clear();
+ const path = `http://localhost/`;
+ // history(path, { replace: true });
+ // window.location.replace(path);
+ // window.history.pushState({}, '', path);
+ window.history.pushState({}, null, path);
+ window.location.reload(false);
+}
+
+export default Logout;
\ No newline at end of file
diff --git a/containers/react/src/components/Sidebar/SidebarData.js b/containers/react/src/components/Sidebar/SidebarData.js
index dae5dfaf..afbf3d52 100644
--- a/containers/react/src/components/Sidebar/SidebarData.js
+++ b/containers/react/src/components/Sidebar/SidebarData.js
@@ -39,7 +39,7 @@ export const SidebarData = [
},
{
title: 'Log out',
- path: '/team',
+ path: '/logout',
icon: