mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-04 23:53:23 +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,
|
setValidWords,
|
||||||
} from '../../redux/ValidatorOnboarding/KeyGeneration/slice'
|
} from '../../redux/ValidatorOnboarding/KeyGeneration/slice'
|
||||||
import { useWindowSize } from '../../hooks/useWindowSize'
|
import { useWindowSize } from '../../hooks/useWindowSize'
|
||||||
import CopyPastedNotification from './CopyPastedNotification'
|
import CopyPastedRecoveryPhrase from './CopyPastedRecoveryPhrase'
|
||||||
|
|
||||||
const ContinueButton = () => {
|
const ContinueButton = () => {
|
||||||
const windowSize = useWindowSize()
|
const windowSize = useWindowSize()
|
||||||
@ -139,7 +139,7 @@ const ContinueButton = () => {
|
|||||||
return (
|
return (
|
||||||
<YStack style={{ width: '100%' }}>
|
<YStack style={{ width: '100%' }}>
|
||||||
{windowSize.width < 1155 && (
|
{windowSize.width < 1155 && (
|
||||||
<CopyPastedNotification isSmallScreen={true} />
|
<CopyPastedRecoveryPhrase isSmallScreen={true} />
|
||||||
)}
|
)}
|
||||||
<XStack
|
<XStack
|
||||||
style={{
|
style={{
|
||||||
@ -150,7 +150,7 @@ const ContinueButton = () => {
|
|||||||
marginTop: '12px',
|
marginTop: '12px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{windowSize.width >= 1155 && <CopyPastedNotification />}
|
{windowSize.width >= 1155 && <CopyPastedRecoveryPhrase />}
|
||||||
{isActivationValScreen && (
|
{isActivationValScreen && (
|
||||||
<LinkWithArrow
|
<LinkWithArrow
|
||||||
text="Skip to Dashboard"
|
text="Skip to Dashboard"
|
||||||
|
@ -5,13 +5,13 @@ import { useSelector } from 'react-redux'
|
|||||||
|
|
||||||
import { RootState } from '../../redux/store'
|
import { RootState } from '../../redux/store'
|
||||||
|
|
||||||
type CopyPastedNotificationProps = {
|
type CopyPastedRecoveryPhraseProps = {
|
||||||
isSmallScreen?: boolean
|
isSmallScreen?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
const CopyPastedNotification = ({
|
const CopyPastedRecoveryPhrase = ({
|
||||||
isSmallScreen,
|
isSmallScreen,
|
||||||
}: CopyPastedNotificationProps) => {
|
}: CopyPastedRecoveryPhraseProps) => {
|
||||||
const isCopyPastedPhrase = useSelector(
|
const isCopyPastedPhrase = useSelector(
|
||||||
(state: RootState) => state.keyGeneration.isCopyPastedPhrase,
|
(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