From 0d878909fe17311910f2ba13e203bdfa1bc72a1e Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Fri, 12 Jun 2020 19:58:36 +0300
Subject: feat: fetch default user

---
 src/ProfileInfo/ProfileInfo.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/ProfileInfo/ProfileInfo.tsx')

diff --git a/src/ProfileInfo/ProfileInfo.tsx b/src/ProfileInfo/ProfileInfo.tsx
index 2bba586..a7289df 100644
--- a/src/ProfileInfo/ProfileInfo.tsx
+++ b/src/ProfileInfo/ProfileInfo.tsx
@@ -37,7 +37,7 @@ const useStyles = makeStyles({
 const ProfileInfo: React.FC<PropTypes> = ({ id }) => {
   const [userInfo, setUserInfo] = useState<User>();
 
-  get(`/users/ + ${id}`).then(response => {
+  get(`/users/${id}`).then(response => {
     setUserInfo(response.data);
   });
 
-- 
cgit v1.2.3

