aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/PublicProfile.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-22 14:32:15 -0400
committerGitHub <noreply@github.com>2021-04-22 14:32:15 -0400
commitf0cff95cfa612b295caf68552bc3d29a7fb23a42 (patch)
treedd3df697478a19048cd4bf6d0b499a91c1a93eb3 /src/components/profile/PublicProfile.tsx
parent4e8e1c0d58424e6b63cfb8470fc0a73c0e6b102b (diff)
parent33c172cc31957966b14321520c56816ba044db14 (diff)
Merge pull request #374 from IvanIFChen/hotfix-linting-fixup
[HOTFIX] Linter fixup
Diffstat (limited to 'src/components/profile/PublicProfile.tsx')
-rw-r--r--src/components/profile/PublicProfile.tsx16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/components/profile/PublicProfile.tsx b/src/components/profile/PublicProfile.tsx
index d2ee8626..b8920351 100644
--- a/src/components/profile/PublicProfile.tsx
+++ b/src/components/profile/PublicProfile.tsx
@@ -15,17 +15,9 @@ import {
deleteUserMomentsForCategory,
updateMomentCategories,
} from '../../store/actions';
-import {
- EMPTY_MOMENTS_LIST,
- NO_PROFILE,
- NO_USER,
-} from '../../store/initialStates';
+import {EMPTY_MOMENTS_LIST, NO_PROFILE} from '../../store/initialStates';
import {RootState} from '../../store/rootreducer';
-import {
- CategorySelectionScreenType,
- ContentProps,
- MomentType,
-} from '../../types';
+import {ContentProps, MomentType} from '../../types';
import {moveCategory, normalize, SCREEN_HEIGHT} from '../../utils';
import {TaggPrompt} from '../common';
import {Moment} from '../moments';
@@ -52,10 +44,6 @@ const PublicProfile: React.FC<ContentProps> = ({
userXId ? state.userX[screenType][userXId] : state.momentCategories,
);
- const {user: loggedInUser = NO_USER} = useSelector(
- (state: RootState) => state.user,
- );
-
const navigation = useNavigation();
/**