You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code to set hover styling for each user row seems to be broken
defshow_user(user: User):
"""Show a user in a table row."""returnrx.table.row(
rx.table.cell(user.name),
rx.table.cell(user.email),
rx.table.cell(user.gender),
style=\{"_hover":
{"bg": rx.color("gray", 3)}
},
align="center",
)
should be
defshow_user(user: User):
"""Show a user in a table row."""returnrx.table.row(
rx.table.cell(user.name),
rx.table.cell(user.email),
rx.table.cell(user.gender),
_hover: {"bg": rx.color("gray", 3),
align="center",
)
The text was updated successfully, but these errors were encountered:
Path: /docs/getting-started/dashboard-tutorial
The code to set hover styling for each user row seems to be broken
should be
The text was updated successfully, but these errors were encountered: