feat: use logger
This commit is contained in:
@ -22,7 +22,6 @@ export const createNewArticle: MenuEntry = {
|
||||
state.activeState.value = "loading";
|
||||
|
||||
fetchStream("/api/articles/create?url=" + value, (chunk) => {
|
||||
console.log({ chunk: chunk.split("\n") });
|
||||
if (chunk.startsWith("id:")) {
|
||||
state.loadingText.value = "Finished";
|
||||
setTimeout(() => {
|
||||
|
@ -32,7 +32,6 @@ export const createNewMovie: MenuEntry = {
|
||||
let currentQuery: string;
|
||||
const search = debounce(async function search(query: string) {
|
||||
currentQuery = query;
|
||||
console.log({ query });
|
||||
if (query.length < 2) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user