diff --git a/containers/react/src/components/Social/Friend.jsx b/containers/react/src/components/Social/Friend.jsx index c68146c4..ce2bafb5 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:01 by apommier ### ########.fr */ +/* Updated: 2023/06/15 19:03:04 by apommier ### ########.fr */ /* */ /* ************************************************************************** */ @@ -79,7 +79,7 @@ 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}`; // history(path, { replace: true }); // window.location.replace(path); window.history.pushState({}, null, path);