refactor(client): centralize error feedback with toast events

- emit API/network failures through a shared toast event bridge

- remove per-page inline error notifications to avoid duplicate error UI

- dedupe repeated toast messages to keep feedback readable
This commit is contained in:
2026-04-10 22:24:30 +03:00
parent 7444082b65
commit ccce3381c1
25 changed files with 59 additions and 80 deletions
@@ -48,8 +48,6 @@ export function CreateScenarioPage() {
/>
</div>
{error && <p className={styles.error}>{error}</p>}
<form onSubmit={handleSubmit} noValidate>
<Card className={styles.formCard}>
<div className={styles.formFields}>