Implement the register screen and make auth work

This commit is contained in:
2025-08-30 11:21:24 +03:00
Unverified
parent 1b98ee1b51
commit 5804775927
6 changed files with 20 additions and 111 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ export interface Alert {
export function AlertsContainer({ alerts }: { alerts: Alert[]}) {
return (
<div>
{alerts.map(alert => {
return <div className={`alert alert-${alert.type}`}>{alert.message}</div>
{alerts.slice(-3).map((alert, i) => {
return <div className={`alert alert-${alert.type}`} key={i}>{alert.message}</div>
})}
</div>
)