-
Notifications
You must be signed in to change notification settings - Fork 20
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
Copy Email when page is ready #9
Comments
componentDidMount excutes once, after the page has rendered successfully.
Hi @ThomasNolte , thanks for contributing to this project. |
it does seem that in 10 the email is copied every time the generate button is pressed which could eliminate the use of the copy button because every time the page loads and updates the email is being copied. you could achieve the same effect by using the componentDidUpdate function for an more React style solution. |
@ThomasNolte Hi, yes it also seemed to me that this result was obtained, but that is not the desired one. I accept your PR. Thanks again |
instead of click 'copy' button, when page is ready and first email is generated, it will be copied automatically into clipboard
The text was updated successfully, but these errors were encountered: