diff --git a/src/components/Modal/ModalLogin/ModalLogin.tsx b/src/components/Modal/ModalLogin/ModalLogin.tsx index b7f90da..37190ae 100644 --- a/src/components/Modal/ModalLogin/ModalLogin.tsx +++ b/src/components/Modal/ModalLogin/ModalLogin.tsx @@ -100,7 +100,7 @@ export const ModalLogin = () => { if (isPopup && isModalOpened) { swicCall('fetchPendingRequests', npub, appNpub) - fetchNpubNames(npub).then(names => { + fetchNpubNames(npub).then((names) => { if (names.length) { setValue('username', `${names[0]}@${DOMAIN}`) } @@ -141,10 +141,17 @@ export const ModalLogin = () => { {...register('password')} {...inputProps} error={!!errors.password} + helperText={'Password you set in Cloud Sync settings'} /> - + + + + + Import your keys from another nsec.app instance + + ) diff --git a/src/components/Modal/ModalSignUp/ModalSignUp.tsx b/src/components/Modal/ModalSignUp/ModalSignUp.tsx index 327ea06..b867d84 100644 --- a/src/components/Modal/ModalSignUp/ModalSignUp.tsx +++ b/src/components/Modal/ModalSignUp/ModalSignUp.tsx @@ -113,9 +113,14 @@ export const ModalSignUp = () => { }, }} /> - + + + + New keys will be generated for you + + ) diff --git a/src/shared/Input/Input.tsx b/src/shared/Input/Input.tsx index 9cb6f74..f63ae57 100644 --- a/src/shared/Input/Input.tsx +++ b/src/shared/Input/Input.tsx @@ -56,7 +56,7 @@ const StyledInputContainer = styled((props: BoxProps) => )(({ }, }, '& > .helper_text': { - margin: '0.5rem 1rem 0', + margin: '0.5rem 0.5rem 0', color: theme.palette.text.primary, }, '& > .label': {