diff options
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 37003207..f72b1165 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -36,6 +36,7 @@ import {mentionPartTypes} from '../../utils/comments'; import TaggDraggable from '../../components/taggs/TaggDraggable'; import Draggable from '../../components/common/Draggable'; +import {UserType} from 'src/types'; /** * Upload Screen to allow users to upload posts to Tagg @@ -75,6 +76,12 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { const [curStart, setCurStart] = useState([0, 0]); const [dim, setDim] = useState([0, 0]); + const testUser: UserType = { + // userId: '1216bbb4-f778-4ef3-b7f8-a55bde1ab1a1', + userId: 'ID-1234-567', + username: 'dragonofthewest', + }; + const navigateToProfile = () => { //Since the logged In User is navigating to own profile, useXId is not required navigation.navigate('Profile', { @@ -175,8 +182,8 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { minY={0} maxX={50} maxY={50} - taggedUser={user} - redirect={true} + taggedUser={testUser} + redirect={false} deleteFromList={() => console.log('Hello world')} setStart={setCurStart} /> |