import React, {useEffect} from 'react' import {TouchableOpacity, View} from 'react-native' import {useAnalytics} from 'lib/analytics/analytics' import {Text} from '../../util/text/Text' import {s} from 'lib/styles' import {usePalette} from 'lib/hooks/usePalette' import {styles} from './styles' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' export const PasswordUpdatedForm = ({ onPressNext, }: { onPressNext: () => void }) => { const {screen} = useAnalytics() const pal = usePalette('default') const {_} = useLingui() useEffect(() => { screen('Signin:PasswordUpdatedForm') }, [screen]) return ( <> Password updated! You can now sign in with your new password. Okay ) }