diff --git a/contracts/stream_contract/src/test.rs b/contracts/stream_contract/src/test.rs
index afb15ca1..e211c085 100644
--- a/contracts/stream_contract/src/test.rs
+++ b/contracts/stream_contract/src/test.rs
@@ -180,6 +180,20 @@ fn test_update_fee_config_rejects_invalid_fee_rate() {
assert_eq!(result, Err(Ok(StreamError::InvalidFeeRate)));
}
+#[test]
+fn test_update_fee_config_rejects_not_initialized() {
+ let env = Env::default();
+ env.mock_all_auths();
+ let client = create_contract(&env);
+
+ let admin = Address::generate(&env);
+ let treasury = Address::generate(&env);
+
+ // Call update_fee_config before initialize
+ let result = client.try_update_fee_config(&admin, &treasury, &100);
+ assert_eq!(result, Err(Ok(StreamError::NotInitialized)));
+}
+
#[test]
fn test_initialize_emits_event() {
let env = Env::default();
diff --git a/frontend/src/components/dashboard/dashboard-view.tsx b/frontend/src/components/dashboard/dashboard-view.tsx
index 5dac949f..4d0cb27a 100644
--- a/frontend/src/components/dashboard/dashboard-view.tsx
+++ b/frontend/src/components/dashboard/dashboard-view.tsx
@@ -884,7 +884,8 @@ export function DashboardView({ session, onDisconnect }: DashboardViewProps) {
Save recurring stream settings once, apply instantly, then override before submitting.
-
setTemplateNameInput(e.target.value)} placeholder="e.g. Monthly Contributor Payroll" aria-label="Template name" />
+
+
setTemplateNameInput(e.target.value)} placeholder="e.g. Monthly Contributor Payroll" aria-label="Template name" />
{editingTemplateId ?
: null}
@@ -918,28 +919,28 @@ export function DashboardView({ session, onDisconnect }: DashboardViewProps) {
Stream Configuration
{requiredFieldsCompleted} / 5 required fields completed
-
- Recipient Address updateStreamForm("recipient", e.target.value)} placeholder="G..." />
+ Recipient Address updateStreamForm("recipient", e.target.value)} placeholder="G..." />
- Token updateStreamForm("token", e.target.value.toUpperCase())} placeholder="USDC" />
- Total Amount updateStreamForm("totalAmount", e.target.value)} placeholder="100" />
+ Token updateStreamForm("token", e.target.value.toUpperCase())} placeholder="USDC" />
+ Total Amount updateStreamForm("totalAmount", e.target.value)} placeholder="100" />
- Starts At updateStreamForm("startsAt", e.target.value)} />
- Ends At updateStreamForm("endsAt", e.target.value)} />
+ Starts At updateStreamForm("startsAt", e.target.value)} />
+ Ends At updateStreamForm("endsAt", e.target.value)} />
- Cadence (seconds) updateStreamForm("cadenceSeconds", e.target.value)} />
+ Cadence (seconds) updateStreamForm("cadenceSeconds", e.target.value)} />
- Note
+ Note