aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/Content.tsx
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-05-24 14:03:32 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-05-24 14:03:32 -0700
commite09f37e73b45a58c0a6ebf8ad8b5216c91713f26 (patch)
tree73fc1435227e418be15480ca9b12d865dcb0f8a2 /src/components/profile/Content.tsx
parent5afdf9208fd3d7498a2595797e6c9fb5f567fc61 (diff)
Fix yarn lint issues
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r--src/components/profile/Content.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index 8298dc9a..2d1002dd 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -38,11 +38,9 @@ interface ContentProps {
}
const Content: React.FC<ContentProps> = ({userXId, screenType}) => {
const dispatch = useDispatch();
- const {
- user = NO_USER,
- profile = NO_PROFILE,
- } = useSelector((state: RootState) =>
- userXId ? state.userX[screenType][userXId] : state.user,
+ const {user = NO_USER, profile = NO_PROFILE} = useSelector(
+ (state: RootState) =>
+ userXId ? state.userX[screenType][userXId] : state.user,
);
const {blockedUsers = EMPTY_PROFILE_PREVIEW_LIST} = useSelector(
(state: RootState) => state.blocked,