aboutsummaryrefslogtreecommitdiff
path: root/src/pages/ProfilePage
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-30 01:34:51 +0300
committereug-vs <eug-vs@keemail.me>2020-06-30 01:34:51 +0300
commite170d04d5d2c8c86d2683f3accb4feb2d94c881a (patch)
treec9028ea3ff850774d33cbc510eb19dd0e9f7aade /src/pages/ProfilePage
parentb31ed66aafbe1d5dbe70d0cdfd70864204510d81 (diff)
downloadwhich-ui-e170d04d5d2c8c86d2683f3accb4feb2d94c881a.tar.gz
style: fix linting errors
Diffstat (limited to 'src/pages/ProfilePage')
-rw-r--r--src/pages/ProfilePage/ProfilePage.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/ProfilePage/ProfilePage.tsx b/src/pages/ProfilePage/ProfilePage.tsx
index ca39746..2c18466 100644
--- a/src/pages/ProfilePage/ProfilePage.tsx
+++ b/src/pages/ProfilePage/ProfilePage.tsx
@@ -16,7 +16,7 @@ const ProfilePage: React.FC = () => {
const { user } = useAuth();
useEffect(() => {
- const id = page?.id || user?._id
+ const id = page?.id || user?._id;
if (id) {
get(`/users/${id}`).then(response => {
setUserInfo(response.data);