diff options
author | George Rusu <george@tagg.id> | 2021-05-18 17:01:13 -0700 |
---|---|---|
committer | George Rusu <george@tagg.id> | 2021-05-18 17:01:13 -0700 |
commit | 1ae1359fc2a28230101817fe8037d6fd95e9109f (patch) | |
tree | 7db98dfccc3128546da55b7ab51143396f09a49b /src/screens/profile/CaptionScreen.tsx | |
parent | 8fa476d8c1ee508c252b4d73901a75cb2c39bf75 (diff) |
fix draggable userID prop
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 50b60024..3fd2e7ef 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -46,10 +46,10 @@ interface CaptionScreenProps { const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { const {title, image, screenType} = route.params; + const {user} = useSelector((state: RootState) => state.user); const { user: {userId}, } = useSelector((state: RootState) => state.user); - console.log(userId); const dispatch = useDispatch(); const [caption, setCaption] = useState(''); const [loading, setLoading] = useState(false); |