mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
Fixes https://github.com/stack-auth/stack-auth/issues/625
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Fixes flash message display by consolidating redirection logic in
`Inner` function of `auth-page.tsx`.
>
> - **Behavior**:
> - Consolidates conditions for automatic redirection in `Inner`
function of `auth-page.tsx` to ensure correct flash message display.
> - Adds check for `!props.automaticRedirect` when rendering
`PredefinedMessageCard` for signed-in users.
> - **Formatting**:
> - Removes unnecessary whitespace in `Inner` function.
> - Adds space before self-closing tags in `Inner` function.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for
|
||
|---|---|---|
| .. | ||
| apis | ||
| docs | ||
| openapi | ||
| custom-script.js | ||
| docs-template.yml | ||
| docs.yml | ||
| fern.config.json | ||
| generators.yml | ||
| style.css | ||