mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-04 15:43:35 +00:00
fix: name of copy pasted recovery phrase notification
This commit is contained in:
parent
bafa31b1f9
commit
cbcbb3195f
@ -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"
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user