fixing, nothing works lmao
This commit is contained in:
@@ -280,7 +280,7 @@ impl EventHandler {
|
||||
}
|
||||
UiContext::Register => {
|
||||
match index {
|
||||
0 => register::save(register_state, &mut self.auth_client, app_state).await?,
|
||||
0 => register::save(register_state, &mut self.auth_client, app_state).await.context("Register save action failed")?,
|
||||
1 => register::back_to_login(register_state, app_state, buffer_state).await,
|
||||
_ => "Invalid Login Option".to_string(),
|
||||
}
|
||||
@@ -534,7 +534,7 @@ impl EventHandler {
|
||||
}
|
||||
Err(e) => {
|
||||
// Handle error from the edit handler
|
||||
return Err(e);
|
||||
return Err(e.into());
|
||||
}
|
||||
}
|
||||
}, // End AppMode::Edit
|
||||
|
||||
Reference in New Issue
Block a user