Is it possible for the page to get the Auth state from auth-ui-react helper?
I'm loving the new auth-ui helpers but think I might be missing something obvious - having themed up the <Auth> component on a login page, I gain the sign up and forgot password screens, but these are all rendered from the same component...
At the moment the header on the page is a static "Sign into your account" - my question is if/how I can determine which state the Auth component is in and hence change the header text to reflect the state - i.e. "Sign up to create an account" as the header when the Sign Up form is being rendered?
Thanks
At the moment the header on the page is a static "Sign into your account" - my question is if/how I can determine which state the Auth component is in and hence change the header text to reflect the state - i.e. "Sign up to create an account" as the header when the Sign Up form is being rendered?
Thanks
