MCPcopy Create free account
hub / github.com/codingforentrepreneurs/full-stack-python / register_error

Function register_error

full_stack_python/auth/forms.py:7–18  ·  view source on GitHub ↗

Render the registration error message.

()

Source from the content-addressed store, hash-verified

5from .state import MyRegisterState
6
7def register_error() -> rx.Component:
8 """Render the registration error message."""
9 return rx.cond(
10 reflex_local_auth.RegistrationState.error_message != "",
11 rx.callout(
12 reflex_local_auth.RegistrationState.error_message,
13 icon="triangle_alert",
14 color_scheme="red",
15 role="alert",
16 width="100%",
17 ),
18 )
19
20
21def my_register_form() -> rx.Component:

Callers 1

my_register_formFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected