fix: name of copy pasted recovery phrase notification

This commit is contained in:
RadoslavDimchev 2024-01-26 10:16:56 +02:00 committed by Radoslav Dimchev
parent bafa31b1f9
commit cbcbb3195f
2 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@ import {
setValidWords,
} from '../../redux/ValidatorOnboarding/KeyGeneration/slice'
import { useWindowSize } from '../../hooks/useWindowSize'
import CopyPastedNotification from './CopyPastedNotification'
import CopyPastedRecoveryPhrase from './CopyPastedRecoveryPhrase'
const ContinueButton = () => {
const windowSize = useWindowSize()
@ -139,7 +139,7 @@ const ContinueButton = () => {
return (
<YStack style={{ width: '100%' }}>
{windowSize.width < 1155 && (
<CopyPastedNotification isSmallScreen={true} />
<CopyPastedRecoveryPhrase isSmallScreen={true} />
)}
<XStack
style={{
@ -150,7 +150,7 @@ const ContinueButton = () => {
marginTop: '12px',
}}
>
{windowSize.width >= 1155 && <CopyPastedNotification />}
{windowSize.width >= 1155 && <CopyPastedRecoveryPhrase />}
{isActivationValScreen && (
<LinkWithArrow
text="Skip to Dashboard"

View File

@ -5,13 +5,13 @@ import { useSelector } from 'react-redux'
import { RootState } from '../../redux/store'
type CopyPastedNotificationProps = {
type CopyPastedRecoveryPhraseProps = {
isSmallScreen?: boolean
}
const CopyPastedNotification = ({
const CopyPastedRecoveryPhrase = ({
isSmallScreen,
}: CopyPastedNotificationProps) => {
}: CopyPastedRecoveryPhraseProps) => {
const isCopyPastedPhrase = useSelector(
(state: RootState) => state.keyGeneration.isCopyPastedPhrase,
)
@ -37,4 +37,4 @@ const CopyPastedNotification = ({
)
}
export default CopyPastedNotification
export default CopyPastedRecoveryPhrase