aboutsummaryrefslogtreecommitdiff
path: root/src/ProfileInfo
diff options
context:
space:
mode:
Diffstat (limited to 'src/ProfileInfo')
-rw-r--r--src/ProfileInfo/ProfileInfo.tsx2
1 files changed, 1 insertions, 1 deletions
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);
});