import React, {useEffect} from 'react' import {View} from 'react-native' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useAnalytics} from '#/lib/analytics/analytics' import {atoms as a, useBreakpoints} from '#/alf' import {Button, ButtonText} from '#/components/Button' import {Text} from '#/components/Typography' import {FormContainer} from './FormContainer' export const PasswordUpdatedForm = ({ onPressNext, }: { onPressNext: () => void }) => { const {screen} = useAnalytics() const {_} = useLingui() const {gtMobile} = useBreakpoints() useEffect(() => { screen('Signin:PasswordUpdatedForm') }, [screen]) return ( Password updated! You can now sign in with your new password. ) }