remove some leftover code
This commit is contained in:
parent
7e01c0ee7a
commit
7f78d0ce1b
|
@ -1,6 +1,7 @@
|
|||
use std::{
|
||||
collections::{HashSet, VecDeque},
|
||||
sync::Arc,
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use axum::{
|
||||
|
@ -20,8 +21,9 @@ use serde::{Deserialize, Serialize};
|
|||
use tokio::{
|
||||
select,
|
||||
sync::{mpsc, oneshot},
|
||||
time::interval,
|
||||
};
|
||||
use tracing::{error, info, instrument};
|
||||
use tracing::{error, instrument};
|
||||
|
||||
use crate::{
|
||||
haku::{Haku, Limits},
|
||||
|
|
|
@ -7,7 +7,6 @@ use std::{
|
|||
|
||||
use api::Api;
|
||||
use axum::Router;
|
||||
use color_eyre::owo_colors::OwoColorize;
|
||||
use config::Config;
|
||||
use copy_dir::copy_dir;
|
||||
use eyre::Context;
|
||||
|
|
|
@ -56,8 +56,6 @@ export class BrushEditor extends HTMLElement {
|
|||
renderHakuResult(phase, result) {
|
||||
this.resetErrors();
|
||||
|
||||
console.log(result);
|
||||
|
||||
if (result.status != "error") return;
|
||||
|
||||
this.errorHeader.textContent = `${phase} failed`;
|
||||
|
|
|
@ -189,8 +189,6 @@ function readUrl() {
|
|||
brushEditor.resetErrors();
|
||||
|
||||
let result = currentUser.renderBrushToChunks(wall, event.x, event.y);
|
||||
console.log(result);
|
||||
|
||||
if (result.status == "error") {
|
||||
brushEditor.renderHakuResult(
|
||||
result.phase == "eval" ? "Evaluation" : "Rendering",
|
||||
|
|
Loading…
Reference in a new issue