Skip to content
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(@aws-amplify/ui-react): withAuthenticator returns Component #5327

Merged
merged 9 commits into from
Apr 8, 2020

Conversation

ericclemmons
Copy link
Contributor

@ericclemmons ericclemmons commented Apr 8, 2020

#5204 made the mistake of returning a component instance (ReactElement) instead of a Component.

As I was working with SSR, the mistake becomes much more obvious:

Screen Shot 2020-04-07 at 5 21 00 PM

Screen Shot 2020-04-07 at 5 21 07 PM

Updated and fixed stories:

Screen Shot 2020-04-07 at 5 29 22 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jordanranz
Copy link
Contributor

Looks like there is a build failure, otherwise LGTM

Copy link
Contributor

@ashika01 ashika01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@codecov
Copy link

codecov bot commented Apr 8, 2020

Codecov Report

Merging #5327 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5327   +/-   ##
=======================================
  Coverage   72.90%   72.90%           
=======================================
  Files         195      195           
  Lines       11466    11466           
  Branches     2157     2157           
=======================================
  Hits         8359     8359           
  Misses       2956     2956           
  Partials      151      151           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 767025f...8de3c58. Read the comment docs.

@ericclemmons ericclemmons merged commit 01e21ef into aws-amplify:master Apr 8, 2020
@ericclemmons ericclemmons deleted the fix-withAuthenticator branch April 8, 2020 20:28
@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants