diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-04-22 14:32:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-22 14:32:15 -0400 |
| commit | f0cff95cfa612b295caf68552bc3d29a7fb23a42 (patch) | |
| tree | dd3df697478a19048cd4bf6d0b499a91c1a93eb3 /src/components/suggestedPeople/SPTaggsBar.tsx | |
| parent | 4e8e1c0d58424e6b63cfb8470fc0a73c0e6b102b (diff) | |
| parent | 33c172cc31957966b14321520c56816ba044db14 (diff) | |
Merge pull request #374 from IvanIFChen/hotfix-linting-fixup
[HOTFIX] Linter fixup
Diffstat (limited to 'src/components/suggestedPeople/SPTaggsBar.tsx')
| -rw-r--r-- | src/components/suggestedPeople/SPTaggsBar.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/suggestedPeople/SPTaggsBar.tsx b/src/components/suggestedPeople/SPTaggsBar.tsx index 29c58cce..3ab33da1 100644 --- a/src/components/suggestedPeople/SPTaggsBar.tsx +++ b/src/components/suggestedPeople/SPTaggsBar.tsx @@ -1,13 +1,12 @@ import React, {useEffect, useState} from 'react'; import {StyleSheet} from 'react-native'; import Animated from 'react-native-reanimated'; -import {useDispatch, useSelector, useStore} from 'react-redux'; +import {useDispatch, useSelector} from 'react-redux'; import {INTEGRATED_SOCIAL_LIST, SOCIAL_LIST} from '../../constants'; import {getLinkedSocials} from '../../services'; import {loadIndividualSocial, updateSocial} from '../../store/actions'; import {RootState} from '../../store/rootReducer'; import {ScreenType} from '../../types'; -import {canViewProfile} from '../../utils'; import Tagg from '../taggs/Tagg'; const {View, ScrollView} = Animated; @@ -26,8 +25,6 @@ const TaggsBar: React.FC<TaggsBarProps> = ({ const {user} = useSelector((state: RootState) => userXId ? state.userX[screenType][userXId] : state.user, ); - const state: RootState = useStore().getState(); - const allowTaggsNavigation = canViewProfile(state, userXId, screenType); const dispatch = useDispatch(); |
