Remove code to sql

This commit is contained in:
Spxg
2025-05-17 22:45:01 +08:00
parent 4848e73723
commit 3498171c0e
5 changed files with 14 additions and 14 deletions

View File

@@ -65,9 +65,9 @@ pub fn execute(state: Store<GlobalState>) -> Box<dyn Fn() + Send + 'static> {
return;
};
let run_selected_code = state.run_selected_code().get();
let run_selected_code = state.run_selected_sql().get();
state.code().set(code.clone());
state.sql().set(code.clone());
change_focus(state, Some(Focus::Execute));
std::mem::take(&mut *state.output().write());