diff --git a/containers/react/src/components/Social/Friend.jsx b/containers/react/src/components/Social/Friend.jsx index ce2bafb5..8627b503 100644 --- a/containers/react/src/components/Social/Friend.jsx +++ b/containers/react/src/components/Social/Friend.jsx @@ -6,7 +6,7 @@ /* By: apommier +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/06/09 08:18:58 by apommier #+# #+# */ -/* Updated: 2023/06/15 19:03:04 by apommier ### ########.fr */ +/* Updated: 2023/06/15 19:05:14 by apommier ### ########.fr */ /* */ /* ************************************************************************** */ @@ -79,7 +79,8 @@ export default function Friend({currentUser}) }; const handleButtonClick = (user) => { - let path = `http://` + process.env.REACT_APP_BASE_URL + `/profile/${user.username}`; + let path = `http://` + process.env.REACT_APP_BASE_URL + `/profile/${user.username}`; + console.log("path= ", path) // history(path, { replace: true }); // window.location.replace(path); window.history.pushState({}, null, path);