-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix email autofill in subscription popup #1394
Conversation
06dddb9
to
4b47343
Compare
Codecov Report
@@ Coverage Diff @@
## master #1394 +/- ##
==========================================
+ Coverage 57.74% 57.88% +0.14%
==========================================
Files 130 130
Lines 2873 2885 +12
Branches 742 741 -1
==========================================
+ Hits 1659 1670 +11
- Misses 1210 1211 +1
Partials 4 4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works, LGTM.
@@ -31,6 +31,7 @@ import styles from './auth.module.css'; | |||
export function Auth() { | |||
const intl = useIntl(); | |||
const telegramParamsRef = useRef<null | { bot: string; token: string }>(null); | |||
const emailRef = useRef(''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
save email between rerenders
4b47343
to
533c924
Compare
size-limit report 📦
|
Depends on #1396
Fixes the first part of #1393
Persist email in local storage for autofill in subscription popup.