stack/packages
Htoo Pyae Lwin a768174753
fix: auth page flash message (#628)
<!--

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 8162ea2f9c. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
2025-05-08 01:12:48 +02:00
..
init-stack chore: update package versions 2025-04-30 11:18:45 -07:00
js chore: update package versions 2025-04-30 11:18:45 -07:00
react chore: update package versions 2025-04-30 11:18:45 -07:00
stack chore: update package versions 2025-04-30 11:18:45 -07:00
stack-emails chore: update package versions 2025-04-30 11:18:45 -07:00
stack-sc chore: update package versions 2025-04-30 11:18:45 -07:00
stack-shared Docs api keys (#644) 2025-05-07 01:39:23 +02:00
stack-ui chore: update package versions 2025-04-30 11:18:45 -07:00
template fix: auth page flash message (#628) 2025-05-08 01:12:48 +02:00